mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-19 17:41:33 +01:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit dcaab8c1db8a33cfc110c1aecfef799b26be65ae.
This commit is contained in:
parent
4a449e3454
commit
a63588e32d
@ -695,6 +695,7 @@ toolchain_src_prepare() {
|
||||
# Workaround -march=native not working for stage1 with non-GCC (bug #933772).
|
||||
if ! tc-is-gcc && [[ "${CFLAGS}${CXXFLAGS}" == *-march=native* ]] ; then
|
||||
CLANG_DISABLE_CET_HACK=1
|
||||
filter-flags '-march=native'
|
||||
fi
|
||||
|
||||
if ! use vanilla ; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user