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)