3
0
Fork 0
forked from mirrors/nixpkgs

a52dec: support cross-compilation

This commit is contained in:
Rick van Schijndel 2021-05-03 21:40:16 +02:00
parent 90022056f5
commit ad0e87518d

View file

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
"--enable-shared"
];
makeFlags = [
"AR=${stdenv.cc.targetPrefix}ar"
];
# fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686
# which can also be fixed with
# hardeningDisable = lib.optional stdenv.isi686 "pic";