1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Making gcc use some extra flags to build the proper hardfp gcc.

This commit breaks non-raspberrypi; just testing.
This commit is contained in:
root 2012-12-07 15:14:04 +00:00 committed by Lluís Batlle i Rossell
parent a30086c8d5
commit 32c061146d

View file

@ -97,6 +97,7 @@ if test "$noSysDirs" = "1"; then
glibc_libdir="$(cat $NIX_GCC_CROSS/nix-support/orig-libc)/lib"
extraFlags="-I$NIX_FIXINC_DUMMY_CROSS $extraFlags"
extraFlags="-mcpu=armv6 -mfpu=vfp -mhard-float -marm $extraFlags"
extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $extraLDFlags"
EXTRA_TARGET_CFLAGS="$extraFlags"