summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2014-06-10 11:45:02 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2014-06-10 11:45:02 +0000
commitfc8e4efb508fe329ea7a4b91e377403e399cc3b3 (patch)
treef3cb18ae36dd1bce40d4b9e9017377b1ad615c35 /eclass
parentppc64 stable wrt byg #511450 (diff)
downloadhistorical-fc8e4efb508fe329ea7a4b91e377403e399cc3b3.tar.gz
historical-fc8e4efb508fe329ea7a4b91e377403e399cc3b3.tar.bz2
historical-fc8e4efb508fe329ea7a4b91e377403e399cc3b3.zip
bump aixrtl ELT-patches for libtool-2.4.2.418
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ELT-patches/aixrtl/2.4.2.418-cmds.c11
-rw-r--r--eclass/ELT-patches/aixrtl/2.4.2.418-cmds.cxx11
-rw-r--r--eclass/ELT-patches/aixrtl/2.4.2.418-soname10
3 files changed, 32 insertions, 0 deletions
diff --git a/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.c b/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.c
new file mode 100644
index 000000000000..38e6fba2e434
--- /dev/null
+++ b/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.c
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -9214,7 +9214,7 @@
+ fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+- archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
++ archive_expsym_cmds='eval `echo "$soname" | $SED -e "s,^,filenam=,; s,(, membnam=,; s,\.o),,"`~$RM -r $lib.d~$MKDIR $lib.d~$CC -o $lib.d/$membnam.o $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags -shared $wl-G$allow_undefined_flag $wl'$exp_sym_flag':$export_symbols~$STRIP -e $lib.d/$membnam.o~( echo "#! $soname"; if test $membnam = shr_64; then echo "# 64"; else echo "# 32"; fi; cat $export_symbols ) > $lib.d/$membnam.imp~$AR $AR_FLAGS $lib $lib.d/$membnam.o $lib.d/$membnam.imp~$RM -r $lib.d'
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
diff --git a/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.cxx b/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.cxx
new file mode 100644
index 000000000000..c58323e8b080
--- /dev/null
+++ b/eclass/ELT-patches/aixrtl/2.4.2.418-cmds.cxx
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -13307,7 +13307,7 @@
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+- archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
++ archive_expsym_cmds_CXX='eval `echo "$soname" | sed -e "s,^,filenam=,; s,(, membnam=,; s,\.o),,"`~$RM -r $lib.d~$MKDIR $lib.d~$CC -o $output_objdir/$filenam.d/$membnam.o $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags -shared $wl-G$allow_undefined_flag $wl'$exp_sym_flag':$export_symbols~$STRIP -e $output_objdir/$filenam.d/$membnam.o~( echo "#! $soname"; if test $membnam = shr_64; then echo "# 64"; else echo "# 32"; fi; cat $export_symbols ) > $lib.d/$membnam.imp~$AR $AR_FLAGS $lib $lib.d/$membnam.o $lib.d/$membnam.imp~$RM -r $lib.d'
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
diff --git a/eclass/ELT-patches/aixrtl/2.4.2.418-soname b/eclass/ELT-patches/aixrtl/2.4.2.418-soname
new file mode 100644
index 000000000000..de3e93e8ae55
--- /dev/null
+++ b/eclass/ELT-patches/aixrtl/2.4.2.418-soname
@@ -0,0 +1,10 @@
+--- configure
++++ configure
+@@ -14426,6 +14426,7 @@
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++ [ "${OBJECT_MODE:-32}" = '64' ] && soname_spec='$libname$release$shared_ext$major(shr_64.o)' || soname_spec='$libname$release$shared_ext$major(shr.o)'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.