diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 21:43:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 21:43:44 +0200 |
commit | 5c5b24f4139bbce45beb31473247d550520035d1 (patch) | |
tree | 881c7a3132f38fa6b9750608be3cdd1faf25d966 /scripts/scan-tools.sh | |
parent | c183c3289ae64824a5b58810da27da6487c83ea1 (diff) |
use HOST_CFLAGS for Kconfig and adk tools
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r-- | scripts/scan-tools.sh | 1 |
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) |