slirp: It needs to use QEMU_CFLAGS not CFLAGS
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 23:10:54 +0000 (01:10 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:44 +0000 (09:32 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index cc3cbd6..e517406 100755 (executable)
--- a/configure
+++ b/configure
@@ -1861,7 +1861,7 @@ if test $profiler = "yes" ; then
 fi
 if test "$slirp" = "yes" ; then
   echo "CONFIG_SLIRP=y" >> $config_host_mak
-  CFLAGS="-I\$(SRC_PATH)/slirp $CFLAGS"
+  QEMU_CFLAGS="-I\$(SRC_PATH)/slirp $QEMU_CFLAGS"
 fi
 if test "$vde" = "yes" ; then
   echo "CONFIG_VDE=y" >> $config_host_mak