diff options
author | Gabor Greif <ggreif@gmail.com> | 2012-08-03 13:31:24 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2012-08-03 13:31:24 +0000 |
commit | 4ecaedc771f47e099609c69ed2782c64fc653d05 (patch) | |
tree | faa09fd49898a526ceefdea4d3892e38a5625454 /lib/Target/PowerPC | |
parent | cbd84f7d8309996d1f5802c9fc54edaf4283bd57 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/TargetInfo/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/TargetInfo/Makefile b/lib/Target/PowerPC/TargetInfo/Makefile index a101aa4a449..2d0560d275f 100644 --- a/lib/Target/PowerPC/TargetInfo/Makefile +++ b/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 |