summaryrefslogtreecommitdiffstats
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 ff2f4ff54..b0db92bb3 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,5 +1,9 @@
2003-08-05 Christopher Faylor <cgf@redhat.com>
+ * Makefile.common: Hmm. Older compilers seem to need -nostdinc.
+
+2003-08-05 Christopher Faylor <cgf@redhat.com>
+
* Makefile.common: Don't send -nostdinc++ with g++.
2003-07-25 Christopher Faylor <cgf@redhat.com>
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 4400b3727..333c9b449 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -130,7 +130,7 @@ ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
GCC_INCLUDE:=${subst //,/,-I$(gcc_libdir)/include}
endif
-COMPILE_CXX=$(CXX) $c $(nostdincxx) $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
+COMPILE_CXX=$(CXX) $c $(nostdincxx) $(nostdinc} $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
-fno-rtti -fno-exceptions
COMPILE_CC=$(CC) $c $(nostdinc) $(ALL_CFLAGS) $(GCC_INCLUDE)