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

Collapse All | Expand All

(-)rust-2.81.0.ebuild (-1 / +1 lines)
Lines 503-509 Link Here
503
	done
503
	done
504
	if use wasm; then
504
	if use wasm; then
505
		wasm_target="wasm32-unknown-unknown"
505
		wasm_target="wasm32-unknown-unknown"
506
		export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*'; echo "$CFLAGS")"
506
		export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*' '-maes*'; echo "$CFLAGS")"
507
		cat <<- _EOF_ >> "${S}"/config.toml
507
		cat <<- _EOF_ >> "${S}"/config.toml
508
			[target.wasm32-unknown-unknown]
508
			[target.wasm32-unknown-unknown]
509
			linker = "$(usex system-llvm lld rust-lld)"
509
			linker = "$(usex system-llvm lld rust-lld)"

Return to bug 934034