treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated thereafter.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
{ stdenv, fetchurl, gmp
|
||||
, hostPlatform
|
||||
}:
|
||||
{ stdenv, fetchurl, gmp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.0.1";
|
||||
@@ -17,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ gmp ];
|
||||
|
||||
configureFlags =
|
||||
stdenv.lib.optional hostPlatform.isSunOS "--disable-thread-safe" ++
|
||||
stdenv.lib.optional hostPlatform.is64bit "--with-pic";
|
||||
stdenv.lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
|
||||
stdenv.lib.optional stdenv.hostPlatform.is64bit "--with-pic";
|
||||
|
||||
doCheck = true; # not cross;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user