aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)