summaryrefslogtreecommitdiff
path: root/source/ap/ksh93/ksh93.use.clang.for.tests.diff
blob: 4fda65f64a5141b155c310bb21b891b3a6314db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./scripts/libast_prereq.sh.orig	2019-05-05 13:34:36.069904205 -0500
+++ ./scripts/libast_prereq.sh	2019-05-05 13:37:19.117888974 -0500
@@ -20,12 +20,12 @@
 
 if [ -z "$CC" ];
 then
-    CC=cc
+    CC=clang
 fi
 
 cd "$MESON_BUILD_ROOT"
 
-if cc --version | grep -q "GCC"
+if $CC --version | grep -q "GCC"
 then
     gcc_major_version=$(cc -dumpversion | cut -d. -f1)
     if [ "$gcc_major_version" -ge 9 ]