Merge pull request #127502 from Mindavi/a52dec/cross

a52dec: support cross-compilation
This commit is contained in:
Sandro 2021-06-20 22:06:53 +02:00 committed by GitHub
commit d7ac89ea47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";