mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 22:44:56 +00:00
glibc: enable cet
only on x86_64
(skip x86_32
)
`glibc-2.39` improved `--enable-cet` detection on unsupported platforms and `./configure` will start failing as: glibc> configure: error: "CET is only supported on x86_64 or x32"
This commit is contained in:
parent
0b8f8e0cd9
commit
e447b1533e
@ -155,7 +155,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 [
|
||||
|
Loading…
Reference in New Issue
Block a user