summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2017-04-26 07:10:13 -0700
committerJan Kotas <jkotas@microsoft.com>2017-04-26 07:10:13 -0700
commit8b1595b74c943b33fa794e63e440e6f4c9679478 (patch)
tree3cfe07eef3814122e00ffee6b8ad8cdc93b864ed /build.sh
parenta5a8c6cdc6e3b732fc5a344878b165f149d99729 (diff)
downloadcoreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.gz
coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.bz2
coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.zip
Enable build with clang 4.0 (#11226)
This change enables build with clang 4.0 and fixes a bunch of new errors that the stricter compiler was reporting.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 8591ff51ae..018cdf0439 100755
--- a/build.sh
+++ b/build.sh
@@ -679,6 +679,11 @@ while :; do
__ClangMinorVersion=9
;;
+ clang4.0)
+ __ClangMajorVersion=4
+ __ClangMinorVersion=0
+ ;;
+
ninja)
__UseNinja=1
;;