gcc/gcc47-libitm-fno-exceptions.patch

29 lines
986 B
Diff
Raw Normal View History

2012-01-03 14:17:22 +00:00
2011-12-22 Jakub Jelinek <jakub@redhat.com>
* Makefile.am (beginend.lo): Append -fno-exceptions to
CXXFLAGS.
* Makefile.in: Regenerated.
--- libitm/Makefile.am.jj 2011-12-20 13:47:57.000000000 +0100
+++ libitm/Makefile.am 2011-12-22 09:14:06.663469165 +0100
2012-01-04 20:51:04 +00:00
@@ -72,6 +72,8 @@ endif
2012-01-03 14:17:22 +00:00
if ARCH_X86_AVX
x86_avx.lo : XCFLAGS += -mavx
endif
2012-01-04 20:51:04 +00:00
+beginend.lo : CXXCOMPILE += -fno-exceptions
+beginend.lo : LTCXXCOMPILE += -fno-exceptions
2012-01-03 14:17:22 +00:00
if ARCH_FUTEX
libitm_la_SOURCES += futex.cc
--- libitm/Makefile.in.jj 2011-12-20 13:47:57.000000000 +0100
+++ libitm/Makefile.in 2011-12-22 09:14:29.466329944 +0100
2012-01-04 20:51:04 +00:00
@@ -1278,6 +1278,8 @@ vpath % $(strip $(search_path))
2012-01-03 14:17:22 +00:00
@LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBITM_BUILD_VERSIONED_SHLIB_TRUE@ > $@ || (rm -f $@ ; exit 1)
@ARCH_X86_TRUE@x86_sse.lo : XCFLAGS += -msse
@ARCH_X86_AVX_TRUE@x86_avx.lo : XCFLAGS += -mavx
2012-01-04 20:51:04 +00:00
+beginend.lo : CXXCOMPILE += -fno-exceptions
+beginend.lo : LTCXXCOMPILE += -fno-exceptions
2012-01-03 14:17:22 +00:00
all-local: $(STAMP_GENINSRC)