summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2008-01-11 12:14:55 +0200
committerLauri Leukkunen <lle@rahina.org>2008-01-11 12:14:55 +0200
commit70bbcfa042819c91ddbcc3ccbaba945b55025008 (patch)
treede001fa9f66f8e6c542e821b7a57098c4d90e376
parenta6d61ece5095ed053324abceb99671092701abd2 (diff)
Fix -Wno-poison-system-directories check
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rwxr-xr-xutils/sb2-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sb2-init b/utils/sb2-init
index 93eabca..7f29b25 100755
--- a/utils/sb2-init
+++ b/utils/sb2-init
@@ -304,7 +304,7 @@ fi
# test if the cross compiler needs to be silenced about /usr/include
# usage
-echo "" | $SBOX_CROSS_GCC_DIR/${SBOX_CROSS_GCC_SUBST_PREFIX}gcc -E - -Wno-poison-system-directories > /dev/null 2>&1
+echo "" | $GCC_FULLPATH -E - -Wno-poison-system-directories > /dev/null 2>&1
if [ $? = 0 ] ; then
SBOX_EXTRA_CROSS_COMPILER_ARGS="-I/usr/include -L$SBOX_TARGET_ROOT/usr/lib -L$SBOX_TARGET_ROOT/lib -Wno-poison-system-directories"
else