remove all references to stdenv.cc.cc.is{GNU,Clang}
use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
This commit is contained in:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional (precision != "double") "--enable-${precision}"
|
||||
# all x86_64 have sse2
|
||||
++ optional stdenv.isx86_64 "--enable-sse2"
|
||||
++ optional (stdenv.cc.cc.isGNU or false) "--enable-openmp";
|
||||
++ optional stdenv.cc.isGNU "--enable-openmp";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user