The glibc doesn't like "gnueabihf" in the triplet.

I better set "gnueabi".
This commit is contained in:
Lluís Batlle i Rossell 2012-12-26 15:29:49 +00:00
parent 96b0de4c33
commit 2717392cbf

View file

@ -130,8 +130,8 @@ stdenv.mkDerivation ({
# 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-gnueabihf"
"--build=arm-linux-gnueabihf"
"--host=arm-linux-gnueabi"
"--build=arm-linux-gnueabi"
"--with-fp"
# To avoid linking with -lgcc_s (dynamic link)