diff --git a/PACKAGING.md b/PACKAGING.md index 5e6560c34..f31252272 100644 --- a/PACKAGING.md +++ b/PACKAGING.md @@ -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.