mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
dev-lang/rust: Apply CoreOS changes
Prevent build failures with GCC 7 due to -Wimplicit-fallthrough.
This commit is contained in:
parent
227218a3a5
commit
aaf560f909
@ -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
|
Loading…
x
Reference in New Issue
Block a user