Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 592326 | Differences between
and this patch

Collapse All | Expand All

(-)a/libcxx-6.0.1.ebuild (-8 / +5 lines)
Lines 103-116 Link Here
103
		if tc-is-clang; then
103
		if tc-is-clang; then
104
			# get the full library list out of 'pretend mode'
104
			# get the full library list out of 'pretend mode'
105
			# and grep it for libclang_rt references
105
			# and grep it for libclang_rt references
106
			local args=( $($(tc-getCC) -### -x c - 2>&1 | tail -n 1) )
106
			local compiler_rt=( $($(tc-getCC) -print-libgcc-file-name - 2>&1 ) )
107
			local i
107
			if [[ ${compiler-rt} == *libclang_rt* ]]; then
108
			for i in "${args[@]}"; do
108
				want_gcc_s=OFF
109
				if [[ ${i} == *libclang_rt* ]]; then
109
				extra_libs+=( "${compiler-rt}" )
110
					want_gcc_s=OFF
110
			fi
111
					extra_libs+=( "${i}" )
112
				fi
113
			done
114
		fi
111
		fi
115
	fi
112
	fi
116
113

Return to bug 592326