summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d98449edd8..7a14ed2de5 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,11 @@ 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_VERSION
+CPP.Flags += \
+ -DCLANG_VERSION='"$(CLANG_VERSION)"'
+ -DCLANG_VERSION='"$(CLANG_VERSION)"'
+endif
# Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't
# work with it enabled with GCC), Clang/llvm-gc don't support it yet, and newer
@@ -74,7 +79,7 @@ report::
clean::
@ $(MAKE) -C test clean
-
+
libs-only: all
tags::