summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex Bennée2015-06-03 10:56:37 +0200
committerMichael Tokarev2015-06-03 15:04:39 +0200
commitde3852877f1e452321352fdb7e678f079876a41b (patch)
treee5dbb0dbdca9a1de3d09a99145c4aabf4dc7a8cf /configure
parentcadence_gem: Fix Rx buffer size field mask (diff)
downloadqemu-de3852877f1e452321352fdb7e678f079876a41b.tar.gz
qemu-de3852877f1e452321352fdb7e678f079876a41b.tar.xz
qemu-de3852877f1e452321352fdb7e678f079876a41b.zip
configure: postfix --extra-cflags to QEMU_CFLAGS
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 <alex.bennee@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4e2f78a173..69190d2793 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_CFLAGS="$optarg"
;;
--extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"