summaryrefslogtreecommitdiff
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-07-10 07:21:34 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-07-10 07:21:34 +0000
commit4a2c083bdd7ff105a99cd861095ab46099b9ef0e (patch)
tree6ba735f74e93c7e278421e7f0f40b752f031b501 /tools/llvm-config
parent0a522b19e8fe8f06dc30919006feb7ba5ddad9af (diff)
downloadllvm-4a2c083bdd7ff105a99cd861095ab46099b9ef0e.tar.gz
llvm-4a2c083bdd7ff105a99cd861095ab46099b9ef0e.tar.bz2
llvm-4a2c083bdd7ff105a99cd861095ab46099b9ef0e.tar.xz
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
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
index 5ceef2e85d..20bd01a3e4 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -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: