From cc1cef3abc8d893c4ce0a69e5928fbb535ccf324 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sun, 10 Apr 2016 20:44:23 +0200 Subject: [PATCH] pcsx2: disable advance SIMD instructions By setting `-DDISABLE_ADVANCE_SIMD=TRUE` pcsx2 will be compiled with predefined SIMD flags instead of `-march=native`. This makes the resulting binary more portable. Further this seems to be needed to make pcsx2 compile with gcc5. --- pkgs/misc/emulators/pcsx2/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/emulators/pcsx2/default.nix b/pkgs/misc/emulators/pcsx2/default.nix index 63b221c9a3dc..604eb389f39d 100644 --- a/pkgs/misc/emulators/pcsx2/default.nix +++ b/pkgs/misc/emulators/pcsx2/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { -DCMAKE_BUILD_PO=TRUE \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="$out" \ + -DDISABLE_ADVANCE_SIMD=TRUE \ -DDISABLE_PCSX2_WRAPPER=TRUE \ -DDOC_DIR="$out/share/doc/pcsx2" \ -DGAMEINDEX_DIR="$out/share/pcsx2" \