Merge pull request #285514 from trofi/glibc-no-cet-on-i686

glibc: enable `cet` only on `x86_64` (skip `x86_32`)
This commit is contained in:
Mario Rodas 2024-02-01 18:19:41 -05:00 committed by GitHub
commit d4b73625ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,7 +160,7 @@ stdenv.mkDerivation ({
# and on aarch64 with binutils 2.30 or later.
# https://sourceware.org/glibc/wiki/PortStatus
"--enable-static-pie"
] ++ lib.optionals stdenv.hostPlatform.isx86 [
] ++ lib.optionals stdenv.hostPlatform.isx86_64 [
# Enable Intel Control-flow Enforcement Technology (CET) support
"--enable-cet"
] ++ lib.optionals withLinuxHeaders [