From 5c5b24f4139bbce45beb31473247d550520035d1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 May 2015 21:43:44 +0200 Subject: use HOST_CFLAGS for Kconfig and adk tools --- scripts/scan-tools.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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) -- cgit v1.2.3