Adding a check for linux 2.6 related cross build parameters in glibc.
svn path=/nixpkgs/trunk/; revision=34230
This commit is contained in:
parent
1402a2ebc3
commit
5aa41fb2ef
@ -112,6 +112,7 @@ 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") [
|
||||||
"--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