summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/files/4.2.2/aix-bnoerok.patch')
-rw-r--r--sys-devel/gcc/files/4.2.2/aix-bnoerok.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/4.2.2/aix-bnoerok.patch b/sys-devel/gcc/files/4.2.2/aix-bnoerok.patch
new file mode 100644
index 0000000..acd6fd3
--- /dev/null
+++ b/sys-devel/gcc/files/4.2.2/aix-bnoerok.patch
@@ -0,0 +1,26 @@
+http://gcc.gnu.org/PR46887
+Fix a typo in gcc-local copy of libtool files.
+This is triggered in Prefix only, as elibtoolize enables aix_runtime_linking.
+
+--- ltcf-cxx.sh.orig 2010-04-24 15:32:36.894202675 +0200
++++ ltcf-cxx.sh 2010-04-24 15:33:08.070885742 +0200
+@@ -204,7 +204,7 @@
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+ # Warning - without using the other run time loading flags, -berok will
+ # link without error, but may produce a broken library.
+- no_undefined_flag=' ${wl}-bnoerok'
++ no_undefined_flag=' ${wl}-bernotok'
+ allow_undefined_flag=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols=yes
+--- libjava/classpath/ltcf-cxx.sh.orig 2010-04-24 15:32:46.967555111 +0200
++++ libjava/classpath/ltcf-cxx.sh 2010-04-24 15:33:12.627573175 +0200
+@@ -204,7 +204,7 @@
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+ # Warning - without using the other run time loading flags, -berok will
+ # link without error, but may produce a broken library.
+- no_undefined_flag=' ${wl}-bnoerok'
++ no_undefined_flag=' ${wl}-bernotok'
+ allow_undefined_flag=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols=yes