glucose: fix build on aarch64-linux
This commit is contained in:
parent
017015a82b
commit
ee09ecaca2
1 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0aahrkaq7n0z986fpqz66yz946nxardfi6dh8calzcfjpvqiraji";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Main.cc \
|
||||
--replace "defined(__linux__)" "defined(__linux__) && defined(__x86_64__)"
|
||||
'';
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
sourceRoot = "glucose-syrup-${version}/simp";
|
||||
|
@ -23,7 +28,5 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
# Build uses _FPU_EXTENDED macro
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue