summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2018-03-10 00:12:14 (GMT)
committerGitHub <noreply@github.com>2018-03-10 00:12:14 (GMT)
commit57b215fc758737f55a7062cab277154c5b9626d4 (patch)
tree937bda4ff294551f0eb17e84e01cc99aa73f8036 /build.sh
parentc3aef92c137658cebb111da6c856ab653316fb0a (diff)
downloadcoreclr-57b215fc758737f55a7062cab277154c5b9626d4.zip
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.gz
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.bz2
Fix build with Clang 6.0 and enable build with Clang 5.0 (#16855)
* Fix build with Clang 6.0 * Add support for clang 5.0 too
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index b7a77e3..63be11b 100755
--- a/build.sh
+++ b/build.sh
@@ -725,6 +725,16 @@ while :; do
__ClangMinorVersion=0
;;
+ clang5.0|-clang5.0)
+ __ClangMajorVersion=5
+ __ClangMinorVersion=0
+ ;;
+
+ clang6.0|-clang6.0)
+ __ClangMajorVersion=6
+ __ClangMinorVersion=0
+ ;;
+
ninja|-ninja)
__UseNinja=1
;;