mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +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
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation ( {
|
||||||
name = "python-2.5.4";
|
name = "python-2.5.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -50,7 +50,6 @@ stdenv.mkDerivation {
|
|||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||||
LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
||||||
|
|
||||||
configureFlags = "--enable-shared --with-wctype-functions";
|
configureFlags = "--enable-shared --with-wctype-functions";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -76,5 +75,5 @@ stdenv.mkDerivation {
|
|||||||
opensslSupport = openssl != null;
|
opensslSupport = openssl != null;
|
||||||
tkSupport = (tk != null) && (tcl != null);
|
tkSupport = (tk != null) && (tcl != null);
|
||||||
libPrefix = "python2.5";
|
libPrefix = "python2.5";
|
||||||
};
|
} ;
|
||||||
}
|
} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; } else {} ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user