aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug097/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug097/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug097/testsuite.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/gna/bug097/testsuite.sh b/testsuite/gna/bug097/testsuite.sh
index 126e39c03..b1836a423 100755
--- a/testsuite/gna/bug097/testsuite.sh
+++ b/testsuite/gna/bug097/testsuite.sh
@@ -2,8 +2,12 @@
. ../../testenv.sh
-gcc -c -fPIC getrand.c
-gcc -o getrand.so --shared getrand.o
+if [ -z $CC ]; then
+ CC="gcc"
+fi
+
+$CC -c -fPIC getrand.c
+$CC -o getrand.so --shared getrand.o
analyze tb.vhdl
elab_simulate tb