summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-18 15:10:22 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-07-31 20:05:40 +0000
commitcaa50971f2e14b4c2c67bf2c40edd50be15679c2 (patch)
tree526eee422d38ea19325e4533a37a0fac7528869f /configure
parent1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68 (diff)
downloadqemu-caa50971f2e14b4c2c67bf2c40edd50be15679c2.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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-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