mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 11:32:02 +02:00
amd64 SDK: add cros_host to BOOTSTRAP_USE
This change adds the USE flag cros_host to the SDK's make.default, as part of a larger fix for the SDK bootstrap build. The SDK bootstrap build was broken in stage 1 since package upgrades were allowed to leak into that phase. We now limit stage 1 to only "known good" package ebuilds, which caused downstream breakage from missing flags in the stage 2 SDK bootstrapping. This change fixes that breakage. Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
This commit is contained in:
parent
1eb46344a2
commit
e9a822fd0a
@ -1,3 +1,7 @@
|
|||||||
# Enable optimizations for common x86_64 CPUs
|
# Enable optimizations for common x86_64 CPUs
|
||||||
CFLAGS="-O2 -pipe -mtune=generic"
|
CFLAGS="-O2 -pipe -mtune=generic"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
# add cros_host to bootstrapping USE flags so SDK / toolchains bootstrapping
|
||||||
|
# will use vim's vimrc instead of baselayouts',
|
||||||
|
BOOTSTRAP_USE="$BOOTSTRAP_USE cros_host"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user