glibc: removing raspberrypi specific code
I think its --with-fp or --without-fp makes nothing, for arm.
This commit is contained in:
parent
f2f50c42d2
commit
4485ee5916
@ -114,19 +114,9 @@ stdenv.mkDerivation ({
|
|||||||
&& cross.platform.kernelMajor == "2.6") [
|
&& cross.platform.kernelMajor == "2.6") [
|
||||||
"--enable-kernel=2.6.0"
|
"--enable-kernel=2.6.0"
|
||||||
"--with-__thread"
|
"--with-__thread"
|
||||||
] ++ stdenv.lib.optionals (cross == null &&
|
] ++ stdenv.lib.optionals (cross == null && stdenv.isArm) [
|
||||||
(stdenv.system == "armv5tel-linux")) [
|
|
||||||
"--host=arm-linux-gnueabi"
|
"--host=arm-linux-gnueabi"
|
||||||
"--build=arm-linux-gnueabi"
|
"--build=arm-linux-gnueabi"
|
||||||
"--without-fp"
|
|
||||||
|
|
||||||
# To avoid linking with -lgcc_s (dynamic link)
|
|
||||||
# so the glibc does not depend on its compiler store path
|
|
||||||
"libc_cv_as_needed=no"
|
|
||||||
] ++ stdenv.lib.optionals (cross == null && stdenv.platform.name == "raspberrypi") [
|
|
||||||
"--host=arm-linux-gnueabi"
|
|
||||||
"--build=arm-linux-gnueabi"
|
|
||||||
"--with-fp"
|
|
||||||
|
|
||||||
# To avoid linking with -lgcc_s (dynamic link)
|
# To avoid linking with -lgcc_s (dynamic link)
|
||||||
# so the glibc does not depend on its compiler store path
|
# so the glibc does not depend on its compiler store path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user