diff options
-rw-r--r-- | gtk/module.rules | 2 | ||||
-rw-r--r-- | make/include/contrib.defs | 2 | ||||
-rw-r--r-- | make/include/gcc.defs | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/gtk/module.rules b/gtk/module.rules index a1c1eb76f..64eef8ac3 100644 --- a/gtk/module.rules +++ b/gtk/module.rules @@ -17,7 +17,7 @@ $(GTK.CONFIGURE.stamp): $(GTK.src/)configure.ac $(GTK.src/)src/Makefile.am $(GTK.CONFIGURE.extra) \ PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig \ CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \ - LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O) " \ + LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \ --prefix=$(PREFIX) \ --with-hb=$(call fn.ABSOLUTE,$(BUILD/)) $(TOUCH.exe) $@ 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) ############################################################################### |