Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines only
authorReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jul 2007 07:21:34 +0000 (07:21 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jul 2007 07:21:34 +0000 (07:21 +0000)
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

tools/llvm-config/Makefile

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