aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/check-libext2fs
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-28 09:33:57 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-28 09:33:57 +0000
commitb124770528e333fcb4efb408d7bbf931ccef3b6e (patch)
tree65fd4abf5475ed08b28bf8488c89d1ec539967b3 /tools/libfsimage/check-libext2fs
parent21ffff5e7f5ac0a54c5b79ff0734ab12b706eb9e (diff)
downloadxen-b124770528e333fcb4efb408d7bbf931ccef3b6e.tar.gz
xen-b124770528e333fcb4efb408d7bbf931ccef3b6e.tar.bz2
xen-b124770528e333fcb4efb408d7bbf931ccef3b6e.zip
Make check-libext2fs cross-friendly
check-libext2fs was calling host gcc; pass $CC from Makefile so it can call the cross-compiler instead. Signed-off-by: Aron Griffis <aron@hp.com>
Diffstat (limited to 'tools/libfsimage/check-libext2fs')
-rwxr-xr-xtools/libfsimage/check-libext2fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libfsimage/check-libext2fs b/tools/libfsimage/check-libext2fs
index 2f654cc4af..e6a8d186fc 100755
--- a/tools/libfsimage/check-libext2fs
+++ b/tools/libfsimage/check-libext2fs
@@ -9,7 +9,7 @@ int main()
}
EOF
-gcc -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
+${CC:-gcc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
if [ $? = 0 ]; then
echo ext2fs-lib
else