From 4d586ac09efc23fd8359496c3017de6a7a4d5c67 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 5 Nov 2012 11:15:23 +0000 Subject: [PATCH] * Makefile.in (MINGW_CXX): Attach $(CFLAGS) to allow providing build option tweaks to mingw compiler as well. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index b04c797f2..594a2fc3c 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2012-11-05 Corinna Vinschen + + * Makefile.in (MINGW_CXX): Attach $(CFLAGS) to allow providing + build option tweaks to mingw compiler as well. + 2012-10-24 Corinna Vinschen * configure.in: Add AC_NO_EXECUTABLES, diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index f7308fcde..a935d4d08 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -44,7 +44,7 @@ ALL_LDLIBS := -lnetapi32 -ladvapi32 -lkernel32 -luser32 ALL_LDFLAGS := -static-libgcc -Wl,--enable-auto-import -B$(newlib_build)/libc $(LDFLAGS) $(ALL_LDLIBS) ALL_DEP_LDLIBS := $(cygwin_build)/libcygwin.a -MINGW_CXX := @MINGW_CXX@ +MINGW_CXX := @MINGW_CXX@ $(CFLAGS) # List all binaries to be linked in Cygwin mode. Each binary on this list # must have a corresponding .o of the same name.