aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/TargetInfo
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-12 21:42:14 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-12 21:42:14 +0000
commit150ae119761df40ca12f5d975a667778a7d011d7 (patch)
treeceba1e5ccec68de2ebfd67d42192d71fd4953412 /lib/Target/X86/TargetInfo
parent528a126d326e186f0efd1c864f507e795f251675 (diff)
Fix LLVM build when the user specifies CPPFLAGS on the make command line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/TargetInfo')
-rw-r--r--lib/Target/X86/TargetInfo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/TargetInfo/Makefile b/lib/Target/X86/TargetInfo/Makefile
index 9858e6a099..ee91982df0 100644
--- a/lib/Target/X86/TargetInfo/Makefile
+++ b/lib/Target/X86/TargetInfo/Makefile
@@ -11,6 +11,6 @@ LEVEL = ../../../..
LIBRARYNAME = LLVMX86Info
# Hack: we need to include 'main' target directory to grab private headers
-CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
include $(LEVEL)/Makefile.common