summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-06 02:35:33 +0000
committerChristopher Faylor <me@cgf.cx>2003-08-06 02:35:33 +0000
commit16f9bc132301ed0b1d832abfe8a1deb6a1e22f52 (patch)
tree3fdb17e32ea8f42c4f31e2f90acd6c79f6c68493
parentc6f80f3e298ec3a1a3bb4b1e99c13aab911a05dc (diff)
downloadcygnal-16f9bc132301ed0b1d832abfe8a1deb6a1e22f52.tar.gz
cygnal-16f9bc132301ed0b1d832abfe8a1deb6a1e22f52.tar.bz2
cygnal-16f9bc132301ed0b1d832abfe8a1deb6a1e22f52.zip
* Makefile.common: Hmm. Older compilers seem to need -nostdinc.
-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)