qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 4afddb5] permit to add things to CFLAGS per targe


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 4afddb5] permit to add things to CFLAGS per target
Date: Mon, 10 Aug 2009 21:48:37 -0000

From: Juan Quintela <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id: 

diff --git a/configure b/configure
index ab33b7d..715dbad 100755
--- a/configure
+++ b/configure
@@ -2068,8 +2068,9 @@ if test "$target_bsd_user" = "yes" ; then
   echo "CONFIG_BSD_USER=y" >> $config_mak
 fi
 
-# generate LDFLAGS for targets
+# generate QEMU_CFLAGS/LDFLAGS for targets
 
+cflags=""
 ldflags=""
 linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/\$(ARCH).ld"
 if test "$target_linux_user" = "yes" -o "$target_linux_user" = "yes" ; then
@@ -2105,6 +2106,7 @@ if test "$target_softmmu" = "yes" ; then
 fi
 
 echo "LDFLAGS+=$ldflags" >> $config_mak
+echo "QEMU_CFLAGS+=$cflags" >> $config_mak
 
 echo "/* Automatically generated by configure - do not modify */" > $config_h
 echo "#include \"../config-host.h\"" >> $config_h




reply via email to

[Prev in Thread] Current Thread [Next in Thread]