aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grt/Makefile.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc
index 2ca9e9420..6a91dd20b 100644
--- a/src/grt/Makefile.inc
+++ b/src/grt/Makefile.inc
@@ -97,8 +97,7 @@ endif
GRT_FST_OBJS := fstapi.o lz4.o fastlz.o
# Additionnal object files (C or asm files).
-GRT_BASE_C_OBJS:=$(GRT_TARGET_OBJS) grt-cstdio.o grt-cgnatrts.o
-GRT_ADD_OBJS:=$(GRT_BASE_C_OBJS) grt-cvpi.o grt-cvhpi.o grt-cdynload.o $(GRT_FST_OBJS)
+GRT_C_OBJS:=$(GRT_TARGET_OBJS) grt-cstdio.o grt-cgnatrts.o
# Source files create by grt.
GRT_SRC_DEPS:=grt-backtraces-impl.ads
@@ -106,14 +105,14 @@ GRT_SRC_DEPS:=grt-backtraces-impl.ads
#GRT_USE_PTHREADS=y
ifeq ($(GRT_USE_PTHREADS),y)
GRT_CFLAGS+=-DUSE_THREADS
- GRT_ADD_OBJS+=grt-cthreads.o
+ GRT_C_OBJS+=grt-cthreads.o
GRT_EXTRA_LIB+=-lpthread
endif
ifeq ($(with_sundials),true)
- GRT_ADD_OBJS+=grt-sundials_c.o
+ GRT_C_OBJS+=grt-sundials_c.o
else
- GRT_ADD_OBJS+=grt-no_sundials_c.o
+ GRT_C_OBJS+=grt-no_sundials_c.o
endif
GRT_LIBBACKTRACE=
@@ -121,6 +120,8 @@ ifneq ($(LIBBACKTRACE),)
GRT_LIBBACKTRACE=libbacktrace.a
endif
+GRT_ADD_OBJS:=$(GRT_C_OBJS) grt-cvpi.o grt-cvhpi.o grt-cdynload.o $(GRT_FST_OBJS)
+
# MSYS2 tries to be clever with paths in command line: it replaces msys2 paths
# by Windows paths. So for example, /bin/ls becomes c:/mingw64/bin/ls
# However, this is not always obvious to detect paths. In our case, msys2