diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-08 20:44:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-08 20:44:43 +0000 |
commit | c4dec1c58eeb2ef46cdb64120eb6b819c6927afb (patch) | |
tree | 5d8efb198f94c901cbafb87761d0b3cfdf3f1415 /Makefile | |
parent | afed099bd2e759efd4bb63fdc525d3445f94cc13 (diff) | |
download | clang-c4dec1c58eeb2ef46cdb64120eb6b819c6927afb.tar.gz |
Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -32,6 +32,12 @@ LEVEL := $(CLANG_LEVEL)/../.. # Include LLVM common makefile. include $(LEVEL)/Makefile.common +# Set common Clang build flags. +CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_LEVEL)/include +ifdef CLANG_VENDOR +CPP.Flags += -DCLANG_VENDOR='"$(CLANG_VENDOR) "' +endif + ### # Clang Top Level specific stuff. |