summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-01 21:43:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-01 21:43:44 +0200
commit5c5b24f4139bbce45beb31473247d550520035d1 (patch)
tree881c7a3132f38fa6b9750608be3cdd1faf25d966 /scripts/scan-tools.sh
parentc183c3289ae64824a5b58810da27da6487c83ea1 (diff)
use HOST_CFLAGS for Kconfig and adk tools
Diffstat (limited to 'scripts/scan-tools.sh')
-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)