diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-04-08 17:29:06 -0700 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2023-04-14 07:41:03 +0300 |
| commit | 4aa036f15aa55e788eda633805d8397274d6c052 (patch) | |
| tree | a9e038866404dbc4b972340f513bd8a26db789a0 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 3c070a08ff5e8646f15398ff7e257d91b97ac5da (diff) | |
rav1e: fix cross
`cargo cbuild` needs to have the `C{C,XX}_FOR_{${platform}}`
variables set just like `cargo` since it is basically a wrapper
around cargo. Without these variables, it will try to use the
`hostPlatform` C compiler to compile `build.rs` scripts, and will
pass flags to that compiler which only make sense on the
`buildPlatform`. So it's just doomed without the environment
variables.
Right now it looks like `rav1e` is the only package we have that is
using `cargo-c`, but if that changes in the future we should factor
this out as its own hook, like `maturinBuildHook` and the others.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
