From 2a15bb4c21792825ebc98028bbcfff4bb76230eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Dec 2018 15:36:46 +0000 Subject: import the toolchain from gentoo tree, increase revisions so they cannot beat us --- .../files/libtool-2.4.6-pthread_bootstrapped.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch (limited to 'sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch') diff --git a/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch b/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch new file mode 100644 index 00000000..54461ccc --- /dev/null +++ b/sys-devel/libtool/files/libtool-2.4.6-pthread_bootstrapped.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/650876 + +--- libtool-2.4.6/build-aux/ltmain.sh ++++ libtool-2.4.6/build-aux/ltmain.sh +@@ -7079,6 +7079,16 @@ + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac ++ ++ # As we are forced to pass -nostdlib to g++ during linking, the option ++ # -pthread{,s} is not in effect; add the -lpthread to $deplist ++ # explicitly to link correctly. ++ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then ++ case "$arg" in ++ -pthread*) func_append deplibs " -lpthread" ;; ++ esac ++ fi ++ + continue + ;; + -- cgit v1.2.3