summaryrefslogtreecommitdiff
path: root/tools/driver/Makefile
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-12 22:55:16 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-12 22:55:16 +0000
commit3352406820d133c78161e8d710f95b8ac152a1e7 (patch)
tree7b4fbf629fd6ffaebfc4836ea2bca2a7f48af5c5 /tools/driver/Makefile
parent4c9f709fc9ea7a7d8c8a85e29730c2365c2cad18 (diff)
downloadclang-3352406820d133c78161e8d710f95b8ac152a1e7.tar.gz
clang-3352406820d133c78161e8d710f95b8ac152a1e7.tar.bz2
clang-3352406820d133c78161e8d710f95b8ac152a1e7.tar.xz
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 'tools/driver/Makefile')
-rw-r--r--tools/driver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/Makefile b/tools/driver/Makefile
index e5a9280a0c..6434cb4ef5 100644
--- a/tools/driver/Makefile
+++ b/tools/driver/Makefile
@@ -12,7 +12,7 @@ TOOLNAME = clang
ifndef CLANG_IS_PRODUCTION
TOOLALIAS = clang++
endif
-CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
+CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
# Clang tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1