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 | |
parent | b3fce87bc51273f3a3cbf9a6695ca403bbdf446c (diff) | |
download | nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar.gz nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar.bz2 nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar.lz nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar.xz nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.tar.zst nixpkgs-209ba9b911630debe231dadbc936391e8de13c3d.zip |
libretro.pcsx2: disable fortify3 hardening flag
-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 8da558bfbeb..63e03bc00ad 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"; |