summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2012-08-03 13:31:24 +0000
committerGabor Greif <ggreif@gmail.com>2012-08-03 13:31:24 +0000
commita1529b6ca4b59a4c7df0559e04065fa842d1efcd (patch)
tree1c3d5b1f11de7d326699ad1afce41f123a58ffa7 /llvm/lib/Target
parent6217e18a7dd50c9f112f8468f7c77fc260f40d89 (diff)
downloadbcm5719-llvm-a1529b6ca4b59a4c7df0559e04065fa842d1efcd.tar.gz
bcm5719-llvm-a1529b6ca4b59a4c7df0559e04065fa842d1efcd.zip
allow 'make CPPFLAGS=<something>' work again
this makes this hack a bit more bearable for poor souls who need to pass custom preprocessor flags to the build process llvm-svn: 161240
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/TargetInfo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/TargetInfo/Makefile b/llvm/lib/Target/PowerPC/TargetInfo/Makefile
index a101aa4a449..2d0560d275f 100644
--- a/llvm/lib/Target/PowerPC/TargetInfo/Makefile
+++ b/llvm/lib/Target/PowerPC/TargetInfo/Makefile
@@ -10,6 +10,6 @@ LEVEL = ../../../..
LIBRARYNAME = LLVMPowerPCInfo
# Hack: we need to include 'main' target directory to grab private headers
-CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+override CPPFLAGS += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud