Don't build 32-bit libatomic with -march=i486 on x86-64
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 20 Apr 2016 14:41:55 +0000 (14:41 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 20 Apr 2016 14:41:55 +0000 (07:41 -0700)
commit9023fd9ea0fb53c88e1fd7279b31e3be53cd4aab
tree9928a8343d69f74437c08a8878114a440d4075ee
parent8f6a773bd879c6d3e693f5dff7e3854e1ea03418
Don't build 32-bit libatomic with -march=i486 on x86-64

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 libatomic on x86-64.

PR target/70454
* configure.tgt (XCFLAGS): Don't add -march=i486 to compile
32-bit x86 target library on x86-64.

From-SVN: r235287
libatomic/ChangeLog
libatomic/configure.tgt