diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 21:11:17 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 21:22:06 +0200 |
commit | a97a53c61e818185dddf25352eb9b85aa3f2ff43 (patch) | |
tree | 1f1e4dc9948fa32f778e5730530b6f924874ff1b /scripts/scan-tools.sh | |
parent | f611b9c0e05eaaa5c1466f0996fcb402964ee58d (diff) |
remove old workaround
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r-- | scripts/scan-tools.sh | 7 |
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 |