summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-01 18:29:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-01 18:29:41 +0200
commita81c14cdffd24266eb9678a04e0965d464927bc3 (patch)
tree21473cff0bb8692947ac60089d100a754585d941 /scripts/scan-tools.sh
parent8bd774aa56934175f756fa2f49e32c517fc1023e (diff)
when using OpenADK for toolchain building, a musl system have to use -static-libgcc
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r--scripts/scan-tools.sh2
1 files changed, 1 insertions, 1 deletions
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