Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines only

contains some of the defines but not all CPP flags.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-07-10 07:21:34 +00:00
parent 0a522b19e8
commit 4a2c083bdd

View File

@ -20,8 +20,8 @@ include $(LEVEL)/Makefile.common
ifeq ($(HAVE_PERL),1) ifeq ($(HAVE_PERL),1)
# Combine preprocessor flags (except for -I) and CXX flags. # Combine preprocessor flags (except for -I) and CXX flags.
SUB_CPPFLAGS = ${CPP.Defines} SUB_CPPFLAGS = ${CPP.BaseFlags}
SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags} SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags}
SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags} SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags}
# This is blank for now. We need to be careful about adding stuff here: # This is blank for now. We need to be careful about adding stuff here: