Trying to fix crossGNU builds (attribute `platform.kernelMajor' missing)
svn path=/nixpkgs/trunk/; revision=34239
This commit is contained in:
parent
c5b6f8a374
commit
c0be42fd68
@ -112,7 +112,9 @@ stdenv.mkDerivation ({
|
|||||||
] ++ stdenv.lib.optionals (cross != null) [
|
] ++ stdenv.lib.optionals (cross != null) [
|
||||||
(if cross.withTLS then "--with-tls" else "--without-tls")
|
(if cross.withTLS then "--with-tls" else "--without-tls")
|
||||||
(if cross.float == "soft" then "--without-fp" else "--with-fp")
|
(if cross.float == "soft" then "--without-fp" else "--with-fp")
|
||||||
] ++ stdenv.lib.optionals (cross != null && cross.platform.kernelMajor == "2.6") [
|
] ++ stdenv.lib.optionals (cross != null
|
||||||
|
&& cross.platform ? kernelMajor
|
||||||
|
&& cross.platform.kernelMajor == "2.6") [
|
||||||
"--enable-kernel=2.6.0"
|
"--enable-kernel=2.6.0"
|
||||||
"--with-__thread"
|
"--with-__thread"
|
||||||
] ++ stdenv.lib.optionals stdenv.isArm [
|
] ++ stdenv.lib.optionals stdenv.isArm [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user