diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-06 23:21:56 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-06 23:21:56 +0100 |
commit | 67fea8d9aff4f72e10ea2e07398b8656cb99b3cc (patch) | |
tree | 47b6d47b5034e7f69048ca00485e5db4f412653c /pkgs/development/libraries/science/math | |
parent | 1c747bd5a912f792970465da9ff3c089bcfa29fc (diff) |
openlibm: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/science/math')
-rw-r--r-- | pkgs/development/libraries/science/math/openlibm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/science/math/openlibm/default.nix b/pkgs/development/libraries/science/math/openlibm/default.nix index b79f1b0b604c9..4ee82bc0633ec 100644 --- a/pkgs/development/libraries/science/math/openlibm/default.nix +++ b/pkgs/development/libraries/science/math/openlibm/default.nix @@ -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"; |