libpmc: Fix for cross by disabling check
Check phase is now only disabled *by default* for cross, but this package was forcing it unconditionally.
This commit is contained in:
parent
ff6ab1b3c4
commit
54089620f5
@ -1,4 +1,8 @@
|
||||
{ fetchurl, stdenv, gmp, mpfr }:
|
||||
{ stdenv, fetchurl
|
||||
, gmp, mpfr
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.0.3";
|
||||
in
|
||||
@ -14,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
CFLAGS = "-I${gmp.dev}/include";
|
||||
|
||||
doCheck = true;
|
||||
doCheck = hostPlatform == buildPlatform;
|
||||
|
||||
# FIXME needs gcc 4.9 in bootstrap tools
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
Loading…
Reference in New Issue
Block a user