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.
wip/yesman
Christoph Hrdinka 8 years ago
parent ab58c22d6a
commit cc1cef3abc
  1. 1
      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" \

Loading…
Cancel
Save