sgx-psw: disable fortify3 hardening flag

This commit is contained in:
Theodore Ni
2023-07-12 22:35:45 -07:00
parent 2052c2d56f
commit b14fcda6c0
+4 -1
View File
@@ -59,7 +59,10 @@ stdenv.mkDerivation rec {
protobuf
];
hardeningDisable = lib.optionals debug [
hardeningDisable = [
# causes redefinition of _FORTIFY_SOURCE
"fortify3"
] ++ lib.optionals debug [
"fortify"
];