diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass index 573471351d..1f043de0b5 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass @@ -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