]> git.ipfire.org Git - thirdparty/gcc.git/commit
Don't build 32-bit libatomic with -march=i486 on x86-64
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Apr 2016 14:41:55 +0000 (14:41 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Apr 2016 14:41:55 +0000 (14:41 +0000)
commit04b7dfa734e345725755fbd4bfb2079fd40dcc9b
tree9928a8343d69f74437c08a8878114a440d4075ee
parent60add81af6a81e1465c33ec176917e2d32920d3c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235287 138bc75d-0d04-0410-961f-82ee72b054a4
libatomic/ChangeLog
libatomic/configure.tgt