File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3
- refs/heads/snap-stage3: e490c17eb5d85d6b968d91b2ca93f3607934e78d
3
+ refs/heads/snap-stage3: 5b56d73dc0e8b988f91c44fd9f9e40331451796b
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change 969
969
970
970
if [ ! -z " $CFG_ENABLE_CLANG " ]
971
971
then
972
- if [ -z " $CC " ] || [[ $CC == * clang ]]
973
- then
972
+ case " $CC " in
973
+ ( ' ' | * clang)
974
974
CFG_CLANG_VERSION=$( $CFG_CC \
975
975
--version \
976
976
| grep version \
@@ -990,9 +990,11 @@ then
990
990
err " bad CLANG version: $CFG_CLANG_VERSION , need >=3.0svn"
991
991
;;
992
992
esac
993
- else
993
+ ;;
994
+ (* )
994
995
msg " skipping CFG_ENABLE_CLANG version check; provided CC=$CC "
995
- fi
996
+ ;;
997
+ esac
996
998
fi
997
999
998
1000
if [ ! -z " $CFG_ENABLE_CCACHE " ]
You can’t perform that action at this time.
0 commit comments