lol

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.

+1 -1
+1 -1
pkgs/development/libraries/glibc/common.nix
··· 93 93 "--enable-kernel=2.6.32" 94 94 ] ++ lib.optionals (cross != null) [ 95 95 (if cross.withTLS then "--with-tls" else "--without-tls") 96 - (if cross.float == "soft" then "--without-fp" else "--with-fp") 96 + (if cross ? float && cross.float == "soft" then "--without-fp" else "--with-fp") 97 97 ] ++ lib.optionals (cross != null 98 98 && cross.platform ? kernelMajor 99 99 && cross.platform.kernelMajor == "2.6") [