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

(-)chromium-123.0.6312.46.ebuild (-5 / +2 lines)
Lines 766-772 Link Here
766
		# Make sure the build system will use the right tools, bug #340795.
766
		# Make sure the build system will use the right tools, bug #340795.
767
		tc-export AR CC CXX NM
767
		tc-export AR CC CXX NM
768
768
769
		if needs_clang && ! tc-is-clang; then
769
		if needs_clang || tc-is-clang; then
770
			# Force clang since gcc is either broken or build is using libcxx.
770
			# Force clang since gcc is either broken or build is using libcxx.
771
			if tc-is-cross-compiler; then
771
			if tc-is-cross-compiler; then
772
				CC="${CBUILD}-clang -target ${CHOST} --sysroot ${ESYSROOT}"
772
				CC="${CBUILD}-clang -target ${CHOST} --sysroot ${ESYSROOT}"
Lines 778-787 Link Here
778
				CXX=${CHOST}-clang++
778
				CXX=${CHOST}-clang++
779
			fi
779
			fi
780
			strip-unsupported-flags
780
			strip-unsupported-flags
781
		fi
781
`			myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"
782
783
		if tc-is-clang; then
784
			myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"
785
		else
782
		else
786
			myconf_gn+=" is_clang=false"
783
			myconf_gn+=" is_clang=false"
787
		fi
784
		fi

Return to bug 927154