[Top][All Lists]

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

[Qemu-trivial] [PULL 30/30] configure: postfix --extra-cflags to QEMU_CF

From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 30/30] configure: postfix --extra-cflags to QEMU_CFLAGS
Date: Wed, 3 Jun 2015 16:08:50 +0300

From: Alex Bennée <address@hidden>

It makes sense that extra-cflags should be appended after the normal
CFLAGS so they don't get overridden by default behaviour. This way if
you specify something like:

  ./configure --extra-cflags="-O0"

You will see the requested behaviour.

Signed-off-by: Alex Bennée <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 4e2f78a..69190d2 100755
--- a/configure
+++ b/configure
@@ -353,7 +353,7 @@ for opt do
   --cpu=*) cpu="$optarg"
-  --extra-cflags=*) QEMU_CFLAGS="$optarg $QEMU_CFLAGS"
+  --extra-cflags=*) QEMU_CFLAGS="$QEMU_CFLAGS $optarg"
   --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"

reply via email to

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