dev-lang/rust: Apply CoreOS changes

Prevent build failures with GCC 7 due to -Wimplicit-fallthrough.
This commit is contained in:
David Michael 2018-02-10 18:32:59 -05:00
parent 227218a3a5
commit aaf560f909

View File

@ -67,6 +67,8 @@ src_prepare() {
local rust_stage0_name="RUST_STAGE0_${ARCH}"
local rust_stage0="${!rust_stage0_name}"
sed -i -e /-Werror/d src/binaryen/CMakeLists.txt
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die
default