diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-03-31 00:32:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-03-31 00:32:50 +0000 |
commit | 9a4a9c25fc32b9c19fa0c20acfe5e44efa24fd02 (patch) | |
tree | a0f52224b52fb7d97a33dbc46f0ff4b0487968d4 /Makefile | |
parent | 2d33e423d5091b7d2cb8618952752abd55bba965 (diff) | |
download | clang-9a4a9c25fc32b9c19fa0c20acfe5e44efa24fd02.tar.gz clang-9a4a9c25fc32b9c19fa0c20acfe5e44efa24fd02.tar.bz2 clang-9a4a9c25fc32b9c19fa0c20acfe5e44efa24fd02.tar.xz |
Basic: Add support for a build variable to set the repository path that goes
into the Clang version.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,9 @@ CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_ ifdef CLANG_VENDOR CPP.Flags += -DCLANG_VENDOR='"$(CLANG_VENDOR) "' endif +ifdef CLANG_REPOSITORY_STRING +CPP.Flags += -DCLANG_REPOSITORY_STRING='"$(CLANG_REPOSITORY_STRING)"' +endif # Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't # work with it enabled with GCC), Clang/llvm-gcc don't support it yet, and newer |