mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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) [
|
||||
(if cross.withTLS then "--with-tls" else "--without-tls")
|
||||
(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"
|
||||
"--with-__thread"
|
||||
] ++ stdenv.lib.optionals stdenv.isArm [
|
||||
|
Loading…
Reference in New Issue
Block a user