All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code
@ 2012-07-15 18:34 Stefan Weil
  2012-07-15 18:34 ` [Qemu-devel] [PATCH 2/2] configure: Fix errors in test for__sync_fetch_and_and Stefan Weil
  2012-07-17 18:43 ` [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code Peter Maydell
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Weil @ 2012-07-15 18:34 UTC (permalink / raw)
  To: Blue Swirl; +Cc: Stefan Weil, qemu-devel

"+=" 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 <sw@weilnetz.de>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-20 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-15 18:34 [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code Stefan Weil
2012-07-15 18:34 ` [Qemu-devel] [PATCH 2/2] configure: Fix errors in test for__sync_fetch_and_and Stefan Weil
2012-07-17 18:43 ` [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code Peter Maydell
2012-07-17 19:07   ` Stefan Weil
2012-07-17 19:19     ` Peter Maydell
2012-07-20 12:28       ` Andreas Färber
2012-07-20 12:30         ` Peter Maydell
2012-07-20 12:35           ` Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.