summary refs log tree commit diff
path: root/pkgs/development/libraries/fftw
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2015-05-11 14:37:53 -0700
committerEric Seidel <gridaphobe@gmail.com>2015-05-11 14:44:50 -0700
commit662a6b1ca62b2e44115f6e29999f30896ddfa075 (patch)
treede5c2d6b8130d3e1d9c89038c32a22eef2bf423a /pkgs/development/libraries/fftw
parent395829686d0219b3e14fe6ffae60a24b4e50370b (diff)
downloadnixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar.gz
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar.bz2
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar.lz
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar.xz
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.tar.zst
nixlib-662a6b1ca62b2e44115f6e29999f30896ddfa075.zip
remove all references to `stdenv.cc.cc.is{GNU,Clang}`
use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
Diffstat (limited to 'pkgs/development/libraries/fftw')
-rw-r--r--pkgs/development/libraries/fftw/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix
index 104b7229bb19..2bcc1cd69a70 100644
--- a/pkgs/development/libraries/fftw/default.nix
+++ b/pkgs/development/libraries/fftw/default.nix
@@ -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;