From 16f9bc132301ed0b1d832abfe8a1deb6a1e22f52 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 6 Aug 2003 02:35:33 +0000 Subject: [PATCH] * Makefile.common: Hmm. Older compilers seem to need -nostdinc. --- winsup/ChangeLog | 4 ++++ winsup/Makefile.common | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/ChangeLog b/winsup/ChangeLog index ff2f4ff54..b0db92bb3 100644 --- a/winsup/ChangeLog +++ b/winsup/ChangeLog @@ -1,3 +1,7 @@ +2003-08-05 Christopher Faylor + + * Makefile.common: Hmm. Older compilers seem to need -nostdinc. + 2003-08-05 Christopher Faylor * Makefile.common: Don't send -nostdinc++ with g++. 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)