[llvm-commits] [llvm] r161240 - /llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile

Gabor Greif ggreif at gmail.com
Fri Aug 3 06:31:25 PDT 2012


Author: ggreif
Date: Fri Aug  3 08:31:24 2012
New Revision: 161240

URL: http://llvm.org/viewvc/llvm-project?rev=161240&view=rev
Log:
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

Modified:
    llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile

Modified: llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile?rev=161240&r1=161239&r2=161240&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile Fri Aug  3 08:31:24 2012
@@ -10,6 +10,6 @@
 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





More information about the llvm-commits mailing list