* Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=33971
This commit is contained in:
@@ -55,6 +55,7 @@ rec {
|
||||
if stdenvType == "i686-linux" then stdenvLinux else
|
||||
if stdenvType == "x86_64-linux" then stdenvLinux else
|
||||
if stdenvType == "armv5tel-linux" then stdenvLinux else
|
||||
if stdenvType == "armv7l-linux" then stdenvLinux else
|
||||
if stdenvType == "mips64el-linux" then stdenvLinux else
|
||||
if stdenvType == "powerpc-linux" then /* stdenvLinux */ stdenvNative else
|
||||
if stdenvType == "i686-mingw" then stdenvMinGW else
|
||||
|
||||
@@ -93,6 +93,7 @@ let
|
||||
|| result.system == "x86_64-linux"
|
||||
|| result.system == "powerpc-linux"
|
||||
|| result.system == "armv5tel-linux"
|
||||
|| result.system == "armv7l-linux"
|
||||
|| result.system == "mips64el-linux";
|
||||
isGNU = result.system == "i686-gnu"; # GNU/Hurd
|
||||
isSunOS = result.system == "i686-solaris"
|
||||
@@ -120,7 +121,8 @@ let
|
||||
|| result.system == "x86_64-darwin";
|
||||
isMips = result.system == "mips-linux"
|
||||
|| result.system == "mips64el-linux";
|
||||
isArm = result.system == "armv5tel-linux";
|
||||
isArm = result.system == "armv5tel-linux"
|
||||
|| result.system == "armv7l-linux";
|
||||
|
||||
# Utility function: allow stdenv to be easily regenerated with
|
||||
# a different setup script. (See all-packages.nix for an
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# rely on ARM backward compatibility to build armv7l binaries with the
|
||||
# bootstrap tools of armv5tel.
|
||||
import ../armv5tel
|
||||
@@ -16,6 +16,7 @@ rec {
|
||||
else if system == "x86_64-linux" then import ./bootstrap/x86_64
|
||||
else if system == "powerpc-linux" then import ./bootstrap/powerpc
|
||||
else if system == "armv5tel-linux" then import ./bootstrap/armv5tel
|
||||
else if system == "armv7l-linux" then import ./bootstrap/armv5tel
|
||||
else if system == "mips64el-linux" then import ./bootstrap/loongson2f
|
||||
else abort "unsupported platform for the pure Linux stdenv";
|
||||
|
||||
|
||||
Executable → Regular
Executable → Regular
@@ -28,7 +28,7 @@ import ../generic rec {
|
||||
import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;}
|
||||
else
|
||||
pkgs.binutils;
|
||||
gcc = if stdenv.isDarwin then pkgs.gccApple.gcc else pkgs.gcc.gcc;
|
||||
gcc = pkgs.gcc.gcc;
|
||||
coreutils = pkgs.coreutils;
|
||||
shell = pkgs.bash + "/bin/sh";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user