projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53a16e
)
Optionally use ${CC} when compiling test utils.
author
Sergey Kvachonok
<ravenexp@gmail.com>
Fri, 25 Mar 2016 05:47:45 +0000
(08:47 +0300)
committer
Sergey Kvachonok
<ravenexp@gmail.com>
Fri, 25 Mar 2016 07:35:42 +0000
(10:35 +0300)
Default to gcc when not set.
tests/tools/autotest.sh
patch
|
blob
|
history
diff --git
a/tests/tools/autotest.sh
b/tests/tools/autotest.sh
index 76668bedefd493408b96c429ca6fca143ca7f177..840cb19ffc3868a371ea458394c8aab3b1ff7511 100755
(executable)
--- a/
tests/tools/autotest.sh
+++ b/
tests/tools/autotest.sh
@@
-16,7
+16,7
@@
toolsdir="$(cd $(dirname $0); pwd)"
warn_iverilog_git=false
if [ ! -f $toolsdir/cmp_tbdata -o $toolsdir/cmp_tbdata.c -nt $toolsdir/cmp_tbdata ]; then
- ( set -ex;
gcc
-Wall -o $toolsdir/cmp_tbdata $toolsdir/cmp_tbdata.c; ) || exit 1
+ ( set -ex;
${CC:-gcc}
-Wall -o $toolsdir/cmp_tbdata $toolsdir/cmp_tbdata.c; ) || exit 1
fi
while getopts xmGl:wkjvref:s:p:n: opt; do