diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 12:00:42 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 12:00:42 +0000 |
commit | 17e1592d278cb93e1505d960648495e5b35bc211 (patch) | |
tree | ffa994b8dd9a9731d1eb8258f2e2228b59c572fd | |
parent | ac62922e7295acd0cdc2824472ae91c31917359b (diff) |
Use the adequate CFLAGS for confiugure tests.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5457 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -722,7 +722,7 @@ cat > $TMPC << EOF #include <zlib.h> int main(void) { zlibVersion(); return 0; } EOF -if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -lz 2> /dev/null ; then +if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz 2> /dev/null ; then : else echo @@ -924,7 +924,7 @@ int main(void) { return bt_error(0); } EOF bluez_cflags=`pkg-config --cflags bluez` bluez_libs=`pkg-config --libs bluez` - if $cc $ARCH_CFLAGS -o $TMPE ${OS_FLAGS} $bluez_cflags $TMPC \ + if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \ $bluez_libs 2> /dev/null ; then : else |