diff options
-rwxr-xr-x | tools/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test.sh b/tools/test.sh index 536d240..4653b83 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -79,8 +79,8 @@ init() { cc="cc" ;; *) - cc="cc -no-pie" - testcc "$cc" || cc="cc" + cc="${CC:-cc} -no-pie" + testcc "$cc" || cc="${CC:-cc}" ;; esac TARGET=`$bin -t?` |