summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/botan
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-05-14 18:55:04 -0400
committerSpencer Whitt <sw@swhitt.me>2015-05-15 11:58:22 -0400
commit7145859662a73632b075177e4322a6c9fe391c0f (patch)
tree88b8fb2f6b10740048a0b24733e086675820ff5d /pkgs/development/libraries/botan
parent2f6e9000e88ae8a99c1e8dc30771e0ce10290ec1 (diff)
botan: clang fix
Diffstat (limited to 'pkgs/development/libraries/botan')
-rw-r--r--pkgs/development/libraries/botan/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix
index c843a00b8362..5880ae772ceb 100644
--- a/pkgs/development/libraries/botan/generic.nix
+++ b/pkgs/development/libraries/botan/generic.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ python bzip2 zlib gmp openssl boost ];
configurePhase = ''
- python configure.py --prefix=$out --with-bzip2 --with-zlib ${if openssl != null then "--with-openssl" else ""} ${extraConfigureFlags}
+ python configure.py --prefix=$out --with-bzip2 --with-zlib ${if openssl != null then "--with-openssl" else ""} ${extraConfigureFlags}${if stdenv.cc.isClang then " --cc=clang" else "" }
'';
enableParallelBuilding = true;