mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 08:58:58 +03:00
wolfssl: Disable zerocallusedregs hardening on aarch64-darwin.
This commit is contained in:
parent
1a386e193d
commit
c23798270a
@ -60,6 +60,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"--enable-armasm=inline"
|
"--enable-armasm=inline"
|
||||||
] ++ extraConfigureFlags;
|
] ++ extraConfigureFlags;
|
||||||
|
|
||||||
|
# Breaks tls13 tests on aarch64-darwin.
|
||||||
|
hardeningDisable = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "zerocallusedregs" ];
|
||||||
|
|
||||||
# LTO should help with the C implementations.
|
# LTO should help with the C implementations.
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString enableLto "-flto";
|
env.NIX_CFLAGS_COMPILE = lib.optionalString enableLto "-flto";
|
||||||
env.NIX_LDFLAGS_COMPILE = lib.optionalString enableLto "-flto";
|
env.NIX_LDFLAGS_COMPILE = lib.optionalString enableLto "-flto";
|
||||||
|
Loading…
Reference in New Issue
Block a user