Patchwork [libatomic] Handle -mx32 like -m64

login
register
mail settings
Submitter Matthias Klose
Date Nov. 19, 2012, 5:09 p.m.
Message ID <50AA67E2.3080507@ubuntu.com>
Download mbox | patch
Permalink /patch/200050/
State New
Headers show

Comments

Matthias Klose - Nov. 19, 2012, 5:09 p.m.
a x32 multilib libatomic build on x86-linux-gnu currently fails, because it
tries to build with -march=i486. This patch handles -mx32 like -m64. Ok for the
trunk?

  Matthias
Richard Henderson - Nov. 22, 2012, 12:13 a.m.
On 11/21/2012 03:23 PM, Matthias Klose wrote:
> 	* configure.tgt (i[3456]86): Handle -mx32 like -m64.

Ok.


r~

Patch

2012-11-19  Matthias Klose  <doko@ubuntu.com>

	* configure.tgt (i[3456]86): Handle -mx32 like -m64.

--- libatomic/configure.tgt~	2012-11-06 09:49:00.000000000 +0100
+++ libatomic/configure.tgt	2012-11-19 18:01:13.153167467 +0100
@@ -59,7 +59,7 @@ 
 
   i[3456]86)
 	case " ${CC} ${CFLAGS} " in
-	  *" -m64 "*)
+	  *" -m64 "*|*" -mx32 "*)
 	    ;;
 	  *)
 	    if test -z "$with_arch"; then