PACKAGING: recommend -Dtarget

This commit is contained in:
Mitchell Hashimoto
2024-10-30 11:12:00 -04:00
parent c413f2445d
commit 04f752e5b8

View File

@ -91,3 +91,8 @@ relevant to package maintainers:
- `-Dcpu=baseline`: Build for the "baseline" CPU of the target architecture.
This avoids building for newer CPU features that may not be available on
all target machines.
- `-Dtarget=$arch-$os-$abi`: Build for a specific target triple. This is
often necessary for system packages to specify a specific minimum Linux
version, glibc, etc. Run `zig targets` to a get a full list of available
targets.