From a1529b6ca4b59a4c7df0559e04065fa842d1efcd Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 3 Aug 2012 13:31:24 +0000 Subject: [PATCH] allow 'make CPPFLAGS=' 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 --- llvm/lib/Target/PowerPC/TargetInfo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/PowerPC/TargetInfo/Makefile b/llvm/lib/Target/PowerPC/TargetInfo/Makefile index a101aa4a4495..2d0560d275f9 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