PACKAGING: recommend -Dtarget
parent
c413f2445d
commit
04f752e5b8
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue