]> sourceware.org Git - newlib-cygwin.git/commitdiff
* Makefile.common: Don't send -nostdinc++ with g++.
authorChristopher Faylor <me@cgf.cx>
Wed, 6 Aug 2003 02:06:43 +0000 (02:06 +0000)
committerChristopher Faylor <me@cgf.cx>
Wed, 6 Aug 2003 02:06:43 +0000 (02:06 +0000)
winsup/ChangeLog
winsup/Makefile.common

index 72ef6859f4935a81b86e30ef6ea72c6b469c7cdc..ff2f4ff544235dd86b3b193a50865a13392a57a8 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-05  Christopher Faylor  <cgf@redhat.com>
+
+       * Makefile.common: Don't send -nostdinc++ with g++.
+
 2003-07-25  Christopher Faylor  <cgf@redhat.com>
 
        * Makefile.in: Only use localhost when building mingw with distcc or
index 8e5bbda9d88dfeb128f44332ae4ba4b121108dbd..4400b37270bff4f99b5034d696f3e6714c6c4512 100644 (file)
@@ -76,8 +76,9 @@ endif
 # Attempt to properly detect missing mingw or w32api and adjust command
 # line parameters appropriately
 
-nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc -nostdinc++"}
+nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc"}
 ifneq (,$(nostdinc))
+nostdincxx:=-nostdinc++
 ifeq (,${findstring $(w32api_source),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
 w32api_include:=-I$(w32api_source)/include
 endif
@@ -129,7 +130,7 @@ ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
 GCC_INCLUDE:=${subst //,/,-I$(gcc_libdir)/include}
 endif
 
-COMPILE_CXX=$(CXX) $c $(nostdinc) $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
+COMPILE_CXX=$(CXX) $c $(nostdincxx) $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
             -fno-rtti -fno-exceptions
 COMPILE_CC=$(CC) $c $(nostdinc) $(ALL_CFLAGS) $(GCC_INCLUDE)
 
This page took 0.032837 seconds and 5 git commands to generate.