| 28 Jun 2025 |
emily |
- assemble sysroots for each build
- get Clang to support per-target C include path/etc. environment variables
- get Clang to support multiple search paths for target config files that can be overlayed together so packages can include the necessary flags in files in
nix-support
| 12:04:27 |
emily | probably other ways I'm not thinking of right now too | 12:04:38 |
emily | alternatively just expect everyone to use pkg-config and break cc -lfoo :P | 12:05:08 |
Alyssa Ross | based | 12:05:14 |
emily | agreed. you can handle the fallout | 12:05:32 |
Qyriad | pkg-config + cmake flags + autotools flags would cover a lot of cases | 12:06:20 |
emily | there's no uniform way to handle it for autotools that doesn't just reduce to injecting compiler flags again | 12:07:00 |
Alyssa Ross | I'd much rather we have injected compiler flags that don't go behind the back of the build system | 12:07:18 |
Alyssa Ross | Passing them to configure would already be an improvement. | 12:07:25 |