x86_64 darwin related changes

svn path=/nixpkgs/trunk/; revision=18665
This commit is contained in:
Rob Vermaas
2009-11-27 10:16:42 +00:00
parent fe10a3aed5
commit d8800474f7
4 changed files with 4 additions and 4 deletions

View File

@@ -82,4 +82,4 @@ stdenv.mkDerivation ( {
# - On Darwin, `python.exe' fails with "Bus Error".
platforms = stdenv.lib.platforms.allBut "i686-darwin";
};
} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch ./nolongdouble.patch]; } else {} ) )
} // (if stdenv.isDarwin then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch ./nolongdouble.patch]; } else {} ) )

View File

@@ -89,4 +89,4 @@ stdenv.mkDerivation ( {
meta = {
platforms = stdenv.lib.platforms;
};
} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch]; } else {} ) )
} // (if stdenv.isDarwin then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch]; } else {} ) )