diff options
author | Nick Cao <nickcao@nichi.co> | 2024-04-29 16:36:21 -0400 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2024-04-29 16:36:49 -0400 |
commit | 8f362df896829b4620561d829ee1aa34fc45beb7 (patch) | |
tree | 2c98c955cce7db38a5887a8666c332c050f095c4 /pkgs/by-name/li | |
parent | adc9566b3274444f7924bc1debf9eac0a3e5775b (diff) |
live555: fix cross compilation
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r-- | pkgs/by-name/li/live555/package.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/li/live555/package.nix b/pkgs/by-name/li/live555/package.nix index 746aa71125319..1d8091bba7ab9 100644 --- a/pkgs/by-name/li/live555/package.nix +++ b/pkgs/by-name/li/live555/package.nix @@ -78,8 +78,15 @@ stdenv.mkDerivation (finalAttrs: { makeFlags = [ "PREFIX=${placeholder "out"}" + "C_COMPILER=$(CC)" + "CPLUSPLUS_COMPILER=$(CXX)" + "LIBRARY_LINK=$(AR) cr " + "LINK=$(CXX) -o " ]; + # required for whitespaces in makeFlags + __structuredAttrs = true; + enableParallelBuilding = true; passthru.tests = { |