summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 9ec5dcfc5..7e27f4014 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -100,6 +100,7 @@ X=$($makecmd ADK_TOPDIR=$topdir LDADD=-lgcc 2>&1)
if [[ $X != *@(Native compiler works)* ]]; then
echo Cannot compile with shared libgcc use static one.
HOST_CFLAGS=-static-libgcc
+ echo "HOST_CFLAGS:=-static-libgcc" >> $topdir/prereq.mk
fi
X=$($makecmd ADK_TOPDIR=$topdir HOST_CFLAGS=${HOST_CFLAGS} 2>&1)