summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-01 21:11:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-01 21:22:06 +0200
commita97a53c61e818185dddf25352eb9b85aa3f2ff43 (patch)
tree1f1e4dc9948fa32f778e5730530b6f924874ff1b /scripts/scan-tools.sh
parentf611b9c0e05eaaa5c1466f0996fcb402964ee58d (diff)
remove old workaround
Diffstat (limited to 'scripts/scan-tools.sh')
-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