Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 650876
Collapse All | Expand All

(-)a/build-aux/ltmain.in (+10 lines)
Lines 5113-5118 func_mode_link () Link Here
5113
	    *" $arg "*) ;;
5113
	    *" $arg "*) ;;
5114
	    * ) func_append new_inherited_linker_flags " $arg" ;;
5114
	    * ) func_append new_inherited_linker_flags " $arg" ;;
5115
	esac
5115
	esac
5116
5117
	# As we are forced to pass -nostdlib to g++ during linking, the option
5118
	# -pthread{,s} is not in effect;  add the -lpthread to $deplist
5119
	# explicitly to link correctly.
5120
	if test "$tagname" = CXX -a x"$with_gcc" = xyes; then
5121
	  case "$arg" in
5122
	    -pthread*) func_append deplibs " -lpthread" ;;
5123
	  esac
5124
	fi
5125
5116
	continue
5126
	continue
5117
	;;
5127
	;;

Return to bug 650876