diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
commit | 97c484a10f4b38efc4fb3dd210defed96003ae7d (patch) | |
tree | 3cf505288a69445d7a0da288197352484942421c /pkgs/misc/emulators/pcsx2 | |
parent | d133a168f082d2f4c94984190e836e55f5e389a7 (diff) | |
download | nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar.gz nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar.bz2 nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar.lz nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar.xz nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.tar.zst nixpkgs-97c484a10f4b38efc4fb3dd210defed96003ae7d.zip |
treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
Diffstat (limited to 'pkgs/misc/emulators/pcsx2')
-rw-r--r-- | pkgs/misc/emulators/pcsx2/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/pcsx2/default.nix b/pkgs/misc/emulators/pcsx2/default.nix index 1b95bca643c..673e4c3ed08 100644 --- a/pkgs/misc/emulators/pcsx2/default.nix +++ b/pkgs/misc/emulators/pcsx2/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { sha256 = "0s7mxq2cgzwjfsq0vhpz6ljk7wr725nxg48128iyirf85585l691"; }; + postPatch = "sed '1i#include \"x86intrin.h\"' -i common/src/x86emitter/cpudetect.cpp"; + configurePhase = '' mkdir -p build cd build @@ -50,6 +52,8 @@ stdenv.mkDerivation rec { soundtouch wxGTK30 zlib ]; + enableParallelBuilding = true; + meta = with stdenv.lib; { description = "Playstation 2 emulator"; longDescription= '' |