diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/include/contrib.defs | 2 | ||||
-rw-r--r-- | make/include/gcc.defs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs index 4c813c7fb..1a1d05c71 100644 --- a/make/include/contrib.defs +++ b/make/include/contrib.defs @@ -101,7 +101,7 @@ define import.CONTRIB.defs $(1).CONFIGURE.env.CXXFLAGS = CXXFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra)" endif $(1).CONFIGURE.env.CPPFLAGS = CPPFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra)" - $(1).CONFIGURE.env.LDFLAGS = LDFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver)" + $(1).CONFIGURE.env.LDFLAGS = LDFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra.exe)" $(1).CONFIGURE.env.PKG_CONFIG_PATH = PKG_CONFIG_PATH="$$(call fn.ABSOLUTE,$$(CONTRIB.build/))lib/pkgconfig" $(1).CONFIGURE.env.args = !CC !CFLAGS !CXX !CXXFLAGS !CPPFLAGS !LDFLAGS !PKG_CONFIG_PATH !LOCAL_PATH diff --git a/make/include/gcc.defs b/make/include/gcc.defs index 50b31f100..2bfc63562 100644 --- a/make/include/gcc.defs +++ b/make/include/gcc.defs @@ -67,15 +67,15 @@ GCC.args.L = -L$(1) GCC.args.l = -l$(1) GCC.args.end = -Wl,--end-group -GCC.args.extra = +GCC.args.extra = $(CFLAGS) $(CPPFLAGS) GCC.args.extra.h_o = GCC.args.extra.c_o = -GCC.args.extra.dylib = -GCC.args.extra.exe = +GCC.args.extra.dylib = $(LDFLAGS) +GCC.args.extra.exe = $(LDFLAGS) GCC.args.extra.hpp_o = GCC.args.extra.cpp_o = -GCC.args.extra.dylib++ = -GCC.args.extra.exe++ = +GCC.args.extra.dylib++ = $(LDFLAGS) +GCC.args.extra.exe++ = $(LDFLAGS) ############################################################################### |