mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
ghc: 8.2.2 on armv7l doesn't build without explicit use of ld.gold.
This commit is contained in:
parent
461139e3fa
commit
8ad5937f90
@ -58,6 +58,8 @@ stdenv.mkDerivation (rec {
|
|||||||
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
|
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin [
|
] ++ stdenv.lib.optional stdenv.isDarwin [
|
||||||
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
|
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
|
||||||
|
] ++ stdenv.lib.optional stdenv.isArm [
|
||||||
|
"LD=${stdenv.cc}/bin/ld.gold"
|
||||||
];
|
];
|
||||||
|
|
||||||
# required, because otherwise all symbols from HSffi.o are stripped, and
|
# required, because otherwise all symbols from HSffi.o are stripped, and
|
||||||
|
Loading…
Reference in New Issue
Block a user