glibc: Check that 'cross.float' is defined
Because if we define it, then gcc compilation fails because it doesn't support --with-float for aarch64.
This commit is contained in:
parent
fd60260a77
commit
41fd1ed903
@ -93,7 +93,7 @@ stdenv.mkDerivation ({
|
||||
"--enable-kernel=2.6.32"
|
||||
] ++ lib.optionals (cross != null) [
|
||||
(if cross.withTLS then "--with-tls" else "--without-tls")
|
||||
(if cross.float == "soft" then "--without-fp" else "--with-fp")
|
||||
(if cross ? float && cross.float == "soft" then "--without-fp" else "--with-fp")
|
||||
] ++ lib.optionals (cross != null
|
||||
&& cross.platform ? kernelMajor
|
||||
&& cross.platform.kernelMajor == "2.6") [
|
||||
|
Loading…
Reference in New Issue
Block a user