From 1da59dd6dd4dc375bd20f197e26f242e15f83b9b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 10 Jul 2007 07:21:34 +0000 Subject: [PATCH] Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines only contains some of the defines but not all CPP flags. llvm-svn: 38487 --- llvm/tools/llvm-config/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llvm-config/Makefile b/llvm/tools/llvm-config/Makefile index 5ceef2e85d49..20bd01a3e401 100644 --- a/llvm/tools/llvm-config/Makefile +++ b/llvm/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: