From a81c14cdffd24266eb9678a04e0965d464927bc3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 Aug 2014 18:29:15 +0200 Subject: when using OpenADK for toolchain building, a musl system have to use -static-libgcc --- scripts/scan-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/scan-tools.sh') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 03d5c845f..988c9cceb 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -82,7 +82,7 @@ include ${ADK_TOPDIR}/prereq.mk all: run-test test: test.c - ${HOST_CC} -o $@ $^ ${LDADD} + ${HOST_CC} -static-libgcc -o $@ $^ ${LDADD} run-test: test ./test -- cgit v1.2.3