Commit 17e1592d278cb93e1505d960648495e5b35bc211
1 parent
ac62922e
Use the adequate CFLAGS for confiugure tests.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5457 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
configure
@@ -722,7 +722,7 @@ cat > $TMPC << EOF | @@ -722,7 +722,7 @@ cat > $TMPC << EOF | ||
722 | #include <zlib.h> | 722 | #include <zlib.h> |
723 | int main(void) { zlibVersion(); return 0; } | 723 | int main(void) { zlibVersion(); return 0; } |
724 | EOF | 724 | EOF |
725 | -if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -lz 2> /dev/null ; then | 725 | +if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz 2> /dev/null ; then |
726 | : | 726 | : |
727 | else | 727 | else |
728 | echo | 728 | echo |
@@ -924,7 +924,7 @@ int main(void) { return bt_error(0); } | @@ -924,7 +924,7 @@ int main(void) { return bt_error(0); } | ||
924 | EOF | 924 | EOF |
925 | bluez_cflags=`pkg-config --cflags bluez` | 925 | bluez_cflags=`pkg-config --cflags bluez` |
926 | bluez_libs=`pkg-config --libs bluez` | 926 | bluez_libs=`pkg-config --libs bluez` |
927 | - if $cc $ARCH_CFLAGS -o $TMPE ${OS_FLAGS} $bluez_cflags $TMPC \ | 927 | + if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \ |
928 | $bluez_libs 2> /dev/null ; then | 928 | $bluez_libs 2> /dev/null ; then |
929 | : | 929 | : |
930 | else | 930 | else |