Skip to content

Commit

Permalink
allow 'make CPPFLAGS=<something>' work again
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ggreif committed Aug 3, 2012
1 parent cbd84f7 commit 4ecaedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/PowerPC/TargetInfo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4ecaedc

Please sign in to comment.