]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - gcc/patches/gcc47-libitm-fno-exceptions.patch0
gcc: Update to 4.7.0.
[people/amarx/ipfire-3.x.git] / gcc / patches / gcc47-libitm-fno-exceptions.patch0
diff --git a/gcc/patches/gcc47-libitm-fno-exceptions.patch0 b/gcc/patches/gcc47-libitm-fno-exceptions.patch0
new file mode 100644 (file)
index 0000000..8b9d590
--- /dev/null
@@ -0,0 +1,28 @@
+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
+@@ -72,6 +72,8 @@ endif
+ if ARCH_X86_AVX
+ x86_avx.lo : XCFLAGS += -mavx
+ endif
++beginend.lo : CXXCOMPILE += -fno-exceptions
++beginend.lo : LTCXXCOMPILE += -fno-exceptions
+ 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
+@@ -1278,6 +1278,8 @@ vpath % $(strip $(search_path))
+ @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
++beginend.lo : CXXCOMPILE += -fno-exceptions
++beginend.lo : LTCXXCOMPILE += -fno-exceptions
+ all-local: $(STAMP_GENINSRC)