diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-12 22:55:16 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-12 22:55:16 +0000 |
commit | 3352406820d133c78161e8d710f95b8ac152a1e7 (patch) | |
tree | 7b4fbf629fd6ffaebfc4836ea2bca2a7f48af5c5 /lib/Index | |
parent | 4c9f709fc9ea7a7d8c8a85e29730c2365c2cad18 (diff) |
Allow users to set CPPFLAGS and CXXFLAGS on the make command line.
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
-rw-r--r-- | lib/Index/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Index/Makefile b/lib/Index/Makefile index 9d33a2d175..4d8671361c 100644 --- a/lib/Index/Makefile +++ b/lib/Index/Makefile @@ -18,10 +18,10 @@ LIBRARYNAME := clangIndex BUILD_ARCHIVE = 1 ifeq ($(ARCH),PowerPC) -CXXFLAGS += -maltivec +CXX.Flags += -maltivec endif -CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include +CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include include $(LEVEL)/Makefile.common |