diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-12 22:24:50 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-12 22:24:50 -0700 |
commit | 209ba9b911630debe231dadbc936391e8de13c3d (patch) | |
tree | fb67d0ef2f750b13b0882f73c13da2035a332cd9 /pkgs/applications/emulators/retroarch/cores.nix | |
parent | b3fce87bc51273f3a3cbf9a6695ca403bbdf446c (diff) |
libretro.pcsx2: disable fortify3 hardening flag
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r-- | pkgs/applications/emulators/retroarch/cores.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 8da558bfbeb04..63e03bc00ad18 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -722,6 +722,10 @@ in # remove ccache substituteInPlace CMakeLists.txt --replace "ccache" "" ''; + + # causes redefinition of _FORTIFY_SOURCE + hardeningDisable = [ "fortify3" ]; + postBuild = "cd /build/source/build/pcsx2"; meta = { description = "Port of PCSX2 to libretro"; |