* Makefile.in: Add -nostdinc to CXXFLAGS.

This commit is contained in:
Christopher Faylor 2001-10-13 00:59:20 +00:00
parent 338420c918
commit cb1826572c
2 changed files with 5 additions and 1 deletions

View File

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

View File

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