openlibm: fix build on darwin

This commit is contained in:
Weijia Wang
2024-03-06 23:21:56 +01:00
parent 1c747bd5a9
commit 67fea8d9af
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-EnpwYtBpY+s5FVI2jhaFHTtAKHeaRlZVnWE/o2T1+FY=";
};
makeFlags = [ "prefix=$(out)" ];
makeFlags = [ "prefix=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
meta = {
description = "High quality system independent, portable, open source libm implementation";