summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 1afdb6c64..fc2988d55 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -61,7 +61,6 @@ OpenBSD)
fi
;;
Darwin*)
- clang=1
;;
*)
# unsupported
@@ -79,16 +78,12 @@ else
makecmd=$(which gmake 2>/dev/null )
fi
-if [ $clang -ne 1 ];then
-HCFLAGS=-static-libgcc
-fi
-
cat >Makefile <<'EOF'
include ${ADK_TOPDIR}/prereq.mk
all: run-test
test: test.c
- ${HOST_CC} $(HCFLAGS) -o $@ $^ ${LDADD}
+ ${HOST_CC} -o $@ $^ ${LDADD}
run-test: test
./test