From 344c267e9fe5c6a39efdbf0305bd873d5bef65f3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 3 Mar 2012 10:56:11 -0600 Subject: Fix from Georgi Chorbadzhiyski to make cross compiling more robust. --- scripts/genconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/genconfig.sh') diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 4ecff254..449ee1ea 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -13,7 +13,7 @@ probeconfig() # Probe for container support on target echo -e "# container support\nconfig TOYBOX_CONTAINER\n\tbool" || return 1 - $CC -c -xc -o /dev/null - << EOF + ${CROSS_COMPILE}${CC} -c -xc -o /dev/null - 2>/dev/null << EOF #include int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET; EOF -- cgit v1.2.3