summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-02-07 22:20:47 +0000
committerMartin Ashby <martin@ashbysoft.com>2023-02-07 22:20:47 +0000
commitcabe1a14b31edce1a247c367f8e1d7265abec34e (patch)
treee66fd91f6682d084ea8484b1be43bd5631dc7610 /run
parent7fa502ba4e60ce762ab529996c66a1a831cb789f (diff)
downloadlearn-c-cabe1a14b31edce1a247c367f8e1d7265abec34e.tar.gz
learn-c-cabe1a14b31edce1a247c367f8e1d7265abec34e.tar.bz2
learn-c-cabe1a14b31edce1a247c367f8e1d7265abec34e.tar.xz
learn-c-cabe1a14b31edce1a247c367f8e1d7265abec34e.zip
Chapter 5
Diffstat (limited to 'run')
-rwxr-xr-xrun3
1 files changed, 2 insertions, 1 deletions
diff --git a/run b/run
index 96e9fac..2efa8b5 100755
--- a/run
+++ b/run
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -e
-clang -Wall -Werror -o exe $@
+CC=gcc
+${CC} -Wall -Werror -o exe $@
./exe
result=$?
rm exe