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 | f6442f80cbb700877631534fe6eb0d69e2839eec (patch) | |
tree | bf65d9225f561b1d7d5987d2535662b173bcb681 /clang/lib/Index | |
parent | af10d27d80a8bfd6f5736829c80695835d566638 (diff) | |
download | bcm5719-llvm-f6442f80cbb700877631534fe6eb0d69e2839eec.tar.gz bcm5719-llvm-f6442f80cbb700877631534fe6eb0d69e2839eec.zip |
Allow users to set CPPFLAGS and CXXFLAGS on the make command line.
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test)
llvm-svn: 98399
Diffstat (limited to 'clang/lib/Index')
-rw-r--r-- | clang/lib/Index/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Index/Makefile b/clang/lib/Index/Makefile index 9d33a2d175e..4d8671361cd 100644 --- a/clang/lib/Index/Makefile +++ b/clang/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 |