diff options
author | Richard Henderson <rth@redhat.com> | 2011-11-10 09:09:04 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-11-10 09:09:04 -0800 |
commit | d4b179020b094a0106a96c288e545be220d4a742 (patch) | |
tree | 07e6f7b8e7f2e100f0948704bfb12de29858cde2 /libitm/Makefile.in | |
parent | 992b0aa1cfe185d5666b5627087a830ebb93df24 (diff) | |
download | gcc-d4b179020b094a0106a96c288e545be220d4a742.zip gcc-d4b179020b094a0106a96c288e545be220d4a742.tar.gz gcc-d4b179020b094a0106a96c288e545be220d4a742.tar.bz2 |
libitm: Don't add -mavx if the assembler doesn't support avx.
* config/x86/x86_avx.cc: Remove #undef __AVX__ hack. Tidy comments.
* Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX.
* configure.ac (ARCH_X86_AVX): New conditional.
* Makefile.in, configure: Rebuild.
From-SVN: r181261
Diffstat (limited to 'libitm/Makefile.in')
-rw-r--r-- | libitm/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/Makefile.in b/libitm/Makefile.in index 8816580..7426146 100644 --- a/libitm/Makefile.in +++ b/libitm/Makefile.in @@ -1259,7 +1259,7 @@ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ vpath % $(strip $(search_path)) @ARCH_X86_TRUE@x86_sse.lo : XCFLAGS += -msse -@ARCH_X86_TRUE@x86_avx.lo : XCFLAGS += -mavx +@ARCH_X86_AVX_TRUE@x86_avx.lo : XCFLAGS += -mavx all-local: $(STAMP_GENINSRC) |