summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-24 17:27:18 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-24 17:27:18 +0100
commit6bb1aaecd1c95373675e6cd0a3eae6ab130d03a2 (patch)
tree8dc247fac32489b77da7ce30d452ff7fc9613fff /aixrtl/1.5.0-cmds-cxx
downloadelt-patches-6bb1aaecd1c95373675e6cd0a3eae6ab130d03a2.tar.gz
elt-patches-6bb1aaecd1c95373675e6cd0a3eae6ab130d03a2.tar.bz2
elt-patches-6bb1aaecd1c95373675e6cd0a3eae6ab130d03a2.zip
Move patches from ::gentoo20170317
Diffstat (limited to 'aixrtl/1.5.0-cmds-cxx')
-rw-r--r--aixrtl/1.5.0-cmds-cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/aixrtl/1.5.0-cmds-cxx b/aixrtl/1.5.0-cmds-cxx
new file mode 100644
index 0000000..13ffb7a
--- /dev/null
+++ b/aixrtl/1.5.0-cmds-cxx
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -10041,7 +10043,7 @@
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+- archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++ archive_expsym_cmds_CXX='eval `echo "$soname" | sed -e "s,^,: ,; s,(,; membnam=,; s,\.o),,"`~rm -f -r $lib.d~mkdir -p $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 -f -r $lib.d'
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'