* Makefile.common: Hmm. Older compilers seem to need -nostdinc.

This commit is contained in:
Christopher Faylor 2003-08-06 02:35:33 +00:00
parent c6f80f3e29
commit 16f9bc1323
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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++.

View File

@ -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)