aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-30 15:09:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-07-30 15:09:41 +0100
commit4778b9f29555d7761f72ef5d451810a692f3169e (patch)
tree55c23d1dcf855a8f6a59c073bbab8dc9fbbd6f7e
parentf41c9e4f3fe72e0972c93f20d2f1532bdc26eb67 (diff)
downloadqemu-arm-4778b9f29555d7761f72ef5d451810a692f3169e.tar.gz
configure: -march=i486 belongs in QEMU_CFLAGS, not CFLAGS
The distinction between QEMU_CFLAGS and CFLAGS is that the former is for flags without which QEMU can't compile, whereas the latter is for flags like "-g -O2" which the user can safely override. "-march=i486" is in the former category, and so belongs in QEMU_CFLAGS. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f74bf0f04f..ab17b404a7 100755
--- a/configure
+++ b/configure
@@ -2812,7 +2812,7 @@ int main(int argc, char **argv)
}
EOF
if ! compile_prog "" "" ; then
- CFLAGS="-march=i486 $CFLAGS"
+ QEMU_CFLAGS="-march=i486 $QEMU_CFLAGS"
fi
fi