aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-13 00:59:20 +0000
committerChristopher Faylor <me@cgf.cx>2001-10-13 00:59:20 +0000
commitcb1826572ce94eabfa1e4b5e8737fad188a55048 (patch)
tree20adc7af1df8eb591d577a2036e7307096ecb843
parent338420c91880913235a2e95e357e1f20c124beaf (diff)
downloadnewlib-cb1826572ce94eabfa1e4b5e8737fad188a55048.zip
newlib-cb1826572ce94eabfa1e4b5e8737fad188a55048.tar.gz
newlib-cb1826572ce94eabfa1e4b5e8737fad188a55048.tar.bz2
* Makefile.in: Add -nostdinc to CXXFLAGS.
-rw-r--r--winsup/ChangeLog4
-rw-r--r--winsup/Makefile.common2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index e86ac02..b80d149 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,5 +1,9 @@
2001-10-12 Christopher Faylor <cgf@redhat.com>
+ * Makefile.in: Add -nostdinc to CXXFLAGS.
+
+2001-10-12 Christopher Faylor <cgf@redhat.com>
+
* Makefile.common: Perform more include file testing trickery.
Sun Oct 7 23:08:46 2001 Christopher Faylor <cgf@cygnus.com>
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 49c5159..74e17e3 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -111,7 +111,7 @@ ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
GCC_INCLUDE:=-I$(gcc_libdir)/include
endif
-COMPILE_CXX:=$(CXX) $c -nostdinc++ $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
+COMPILE_CXX:=$(CXX) $c -nostdinc++ -nostdinc $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
-fno-rtti -fno-exceptions
COMPILE_CC:=$(CC) $c -nostdinc $(ALL_CFLAGS) $(GCC_INCLUDE)