get rid of nasty CC stuff

This commit is contained in:
Joel Taylor
2014-09-09 13:54:26 -07:00
parent 0577499d74
commit 6f949b2e87
7 changed files with 12 additions and 21 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ stdenv.mkDerivation (rec {
++ (if cxx then [ "--enable-cxx" ]
else [ "--disable-cxx" ])
++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
++ optional stdenv.isDarwin "ABI=64 CC=clang"
++ optional stdenv.isDarwin "ABI=64"
++ optional stdenv.is64bit "--with-pic"
;