forked from mirrors/nixpkgs
fftw: fix on darwin
doc generation involves running Fortran wrapper generation shell scripts that hard code references to gcc which fails on darwin.
This commit is contained in:
parent
a28ca06298
commit
2e1fa4a9f5
|
@ -35,7 +35,9 @@ stdenv.mkDerivation rec {
|
|||
# all x86_64 have sse2
|
||||
# however, not all float sizes fit
|
||||
++ optional (stdenv.isx86_64 && (precision == "single" || precision == "double") ) "--enable-sse2"
|
||||
++ optional stdenv.cc.isGNU "--enable-openmp";
|
||||
++ optional stdenv.cc.isGNU "--enable-openmp"
|
||||
# doc generation causes Fortran wrapper generation which hard-codes gcc
|
||||
++ optional (!stdenv.cc.isGNU) "--disable-doc";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue