From a97a53c61e818185dddf25352eb9b85aa3f2ff43 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 May 2015 21:11:17 +0200 Subject: remove old workaround --- scripts/scan-tools.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3