subversion: Add several compiler definitions for Darwin

This commit is contained in:
John Wiegley 2015-01-02 14:40:31 -06:00 committed by Shea Levy
parent 58ae62b9fa
commit eba9d0d8fa

View File

@ -15,7 +15,7 @@ assert httpServer -> apacheHttpd != null;
assert pythonBindings -> swig != null && python != null; assert pythonBindings -> swig != null && python != null;
assert javahlBindings -> jdk != null && perl != null; assert javahlBindings -> jdk != null && perl != null;
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
version = "1.8.11"; version = "1.8.11";
@ -77,4 +77,9 @@ stdenv.mkDerivation rec {
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ]; maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
hydraPlatforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; hydraPlatforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
}; };
} } // stdenv.lib.optionalAttrs stdenv.isDarwin {
CXX = "clang++";
CC = "clang";
CPP = "clang -E";
CXXCPP = "clang++ -E";
})