mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit d6cb7a61dad7e9672a8448597835dbbf9b9e0ccf.
This commit is contained in:
parent
e1191a2841
commit
1586c04b48
@ -1252,7 +1252,10 @@ toolchain_src_configure() {
|
||||
# ;;
|
||||
# esac
|
||||
|
||||
### Cross-compiler options
|
||||
### Cross-compiler option
|
||||
#
|
||||
# Note that 'newlib' here doesn't have to mean genuine newlib.
|
||||
# See https://gcc.gnu.org/pipermail/gcc/2014-January/211653.html.
|
||||
if is_crosscompile ; then
|
||||
# Enable build warnings by default with cross-compilers when system
|
||||
# paths are included (e.g. via -I flags).
|
||||
@ -1583,7 +1586,6 @@ toolchain_src_configure() {
|
||||
fi
|
||||
}
|
||||
|
||||
enable_cet_for 'i[34567]86' 'gnu' 'cet'
|
||||
enable_cet_for 'x86_64' 'gnu' 'cet'
|
||||
enable_cet_for 'aarch64' 'gnu' 'standard-branch-protection'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user