mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
* -msse2 flag for python on i686-darwin
svn path=/nixpkgs/trunk/; revision=15914
This commit is contained in:
parent
e85cc883e7
commit
342d9834bf
@ -34,7 +34,7 @@ let
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation ( {
|
||||
name = "python-2.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
@ -50,7 +50,6 @@ stdenv.mkDerivation {
|
||||
inherit buildInputs;
|
||||
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||
LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
||||
|
||||
configureFlags = "--enable-shared --with-wctype-functions";
|
||||
|
||||
preConfigure = ''
|
||||
@ -76,5 +75,5 @@ stdenv.mkDerivation {
|
||||
opensslSupport = openssl != null;
|
||||
tkSupport = (tk != null) && (tcl != null);
|
||||
libPrefix = "python2.5";
|
||||
};
|
||||
}
|
||||
} ;
|
||||
} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; } else {} ) )
|
||||
|
Loading…
Reference in New Issue
Block a user