mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
Merge pull request #153525 from veehaitch/sgx-x86_64
linux: enable X86_SGX{_KVM} on x86_64 only
This commit is contained in:
commit
d4b954f87c
|
@ -473,7 +473,7 @@ let
|
|||
|
||||
# Detect buffer overflows on the stack
|
||||
CC_STACKPROTECTOR_REGULAR = {optional = true; tristate = whenOlder "4.18" "y";};
|
||||
} // optionalAttrs stdenv.hostPlatform.isx86 {
|
||||
} // optionalAttrs stdenv.hostPlatform.isx86_64 {
|
||||
# Enable Intel SGX
|
||||
X86_SGX = whenAtLeast "5.11" yes;
|
||||
# Allow KVM guests to load SGX enclaves
|
||||
|
|
Loading…
Reference in a new issue