spandsp: fix cross compilation

This commit is contained in:
Adam Joseph 2023-02-16 11:47:59 -08:00
parent 10235445f9
commit 2396a492f6

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
makeFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
"CC_FOR_BUILD=${buildPackages.stdenv.cc}/bin/cc"
];
configureFlags = [