botan: clang fix
commit7145859662a73632b075177e4322a6c9fe391c0f
authorSpencer Whitt <sw@swhitt.me>
dateThu 14 May 2015, 18:55 (12 years ago)
parent2f6e900
pkgs/development/libraries/botan/generic.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 buildInputs = [ python bzip2 zlib gmp openssl boost ];
2222
2323 configurePhase = ''
24− python configure.py --prefix=$out --with-bzip2 --with-zlib ${if openssl != null then "--with-openssl" else ""} ${extraConfigureFlags}
24+ 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 "" }
2525 '';
2626
2727 enableParallelBuilding = true;