Making go build for any arm.
This commit is contained in:
parent
1e0ab1d4ce
commit
4b09501f23
@ -74,7 +74,7 @@ stdenv.mkDerivation {
|
|||||||
GOARCH = if stdenv.isDarwin then "amd64"
|
GOARCH = if stdenv.isDarwin then "amd64"
|
||||||
else if stdenv.system == "i686-linux" then "386"
|
else if stdenv.system == "i686-linux" then "386"
|
||||||
else if stdenv.system == "x86_64-linux" then "amd64"
|
else if stdenv.system == "x86_64-linux" then "amd64"
|
||||||
else if stdenv.system == "armv5tel-linux" then "arm"
|
else if stdenv.isArm then "arm"
|
||||||
else throw "Unsupported system";
|
else throw "Unsupported system";
|
||||||
GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
|
GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
|
||||||
GO386 = 387; # from Arch: don't assume sse2 on i686
|
GO386 = 387; # from Arch: don't assume sse2 on i686
|
||||||
|
Loading…
x
Reference in New Issue
Block a user