diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-06-20 22:06:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 22:06:53 +0200 |
commit | d7ac89ea475b569ef3115cd0931ec9f2a07892a3 (patch) | |
tree | 31ccc6e21adec256bc0cafda7da66f0f03211a3c /pkgs/development/libraries | |
parent | 6567f8e5badbfccf95893b209eae9beebb140dab (diff) | |
parent | ad0e87518d842200a581b38cecb284cfe67152dc (diff) | |
download | nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar.gz nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar.bz2 nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar.lz nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar.xz nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.tar.zst nixpkgs-d7ac89ea475b569ef3115cd0931ec9f2a07892a3.zip |
Merge pull request #127502 from Mindavi/a52dec/cross
a52dec: support cross-compilation
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/a52dec/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/a52dec/default.nix b/pkgs/development/libraries/a52dec/default.nix index faa819ec561..cce911f0d80 100644 --- a/pkgs/development/libraries/a52dec/default.nix +++ b/pkgs/development/libraries/a52dec/default.nix @@ -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"; |