[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code |
Date: |
Sun, 15 Jul 2012 20:34:31 +0200 |
"+=" does not work with dash and other simple /bin/sh implementations.
The new code prepends the flag while the old code either did not work
(it continued after an error message which typically was not read) or
appended the flag. That difference should not matter here.
Signed-off-by: Stefan Weil <address@hidden>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 12351f5..0269ba0 100755
--- a/configure
+++ b/configure
@@ -2822,7 +2822,7 @@ int main(int argc, char **argv)
}
EOF
if ! compile_prog "" "" ; then
- CFLAGS+="-march=i486"
+ CFLAGS="-march=i486 $CFLAGS"
fi
fi
--
1.7.0.4
- [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code,
Stefan Weil <=