Skip to contentSkip to conversation

[5457] Use the adequate CFLAGS for confiugure tests.

Qemu-devel Andrzej Zaborowski 1 participant 1 message Oct 11, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5457

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5457
Author:   balrog
Date:     2008-10-11 12:00:42 +0000 (Sat, 11 Oct 2008)

Log Message:
-----------
Use the adequate CFLAGS for confiugure tests.

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +2 -2
@@ -722,7 +722,7 @@
 #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 @@
 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