Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-13 04:59:20 +0400
committerChristopher Faylor <me@cgf.cx>2001-10-13 04:59:20 +0400
commitcb1826572ce94eabfa1e4b5e8737fad188a55048 (patch)
tree20adc7af1df8eb591d577a2036e7307096ecb843
parent338420c91880913235a2e95e357e1f20c124beaf (diff)
* 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 e86ac02ef..b80d14952 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 49c515991..74e17e3d3 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)