]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/gcc-4.1.2-gcc_eh.patch
Merge branch 'kernel-update' of ssh://git.ipfire.org/pub/git/ipfire-2.x into kernel...
[ipfire-2.x.git] / src / patches / gcc-4.1.2-gcc_eh.patch
diff --git a/src/patches/gcc-4.1.2-gcc_eh.patch b/src/patches/gcc-4.1.2-gcc_eh.patch
deleted file mode 100644 (file)
index 9a2589a..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur gcc-4.1.2/gcc/cp/g++spec.c gcc-4.1.2-gcc_eh/gcc/cp/g++spec.c
---- gcc-4.1.2/gcc/cp/g++spec.c 2005-06-25 02:59:41.000000000 +0200
-+++ gcc-4.1.2-gcc_eh/gcc/cp/g++spec.c  2007-08-03 14:46:03.000000000 +0200
-@@ -251,7 +251,7 @@
- #endif
-   /* Make sure to have room for the trailing NULL argument.  */
--  num_args = argc + added + need_math + shared_libgcc + (library > 0) + 1;
-+  num_args = argc + added + need_math + shared_libgcc + 2 * (library > 0) + 1;
-   arglist = xmalloc (num_args * sizeof (char *));
-   i = 0;
-@@ -311,7 +311,10 @@
-     {
-       arglist[j] = saw_profile_flag ? LIBSTDCXX_PROFILE : LIBSTDCXX;
-       if (arglist[j][0] != '-' || arglist[j][1] == 'l')
--      added_libraries++;
-+      {
-+      arglist[++j] = "-lgcc_eh";
-+      added_libraries += 2;
-+      }
-       j++;
-     }
-   if (saw_math)