Re: [PATCH] Don't build 32-bit libitm with -march=i486 on x86-64

2016-04-20 Thread H.J. Lu
On Tue, Apr 19, 2016 at 8:08 AM, H.J. Lu wrote: > Gcc uses the same -march= for both -m32 and -m64 on x86-64 unless > --with-arch-32= is used. There is no need for -march=i486 to compile > 32-bit libitm on x86-64. > > Tested on x86-64. OK for trunk? > > > H.J. > --- > PR target/70454 >

[PATCH] Don't build 32-bit libitm with -march=i486 on x86-64

2016-04-19 Thread H.J. Lu
Gcc uses the same -march= for both -m32 and -m64 on x86-64 unless --with-arch-32= is used. There is no need for -march=i486 to compile 32-bit libitm on x86-64. Tested on x86-64. OK for trunk? H.J. --- PR target/70454 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile