scripts: Add basic support for _FOR_BUILD build flags
commit2782c16163c8736e545ee868bdc4054e59f6f6ee
authorGuillem Jover <guillem@debian.org>
Thu, 31 Aug 2023 22:27:44 +0000 (1 00:27 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 30 Oct 2023 02:18:18 +0000 (30 03:18 +0100)
tree33f1e7e3d500a310be6933d10ef2180182f24fb5
parentf3d0fb4bdc0f8fff28fa98122bfd19eea46a9570
scripts: Add basic support for _FOR_BUILD build flags

These flags are intended to be used when building objects for the
build system (in contrast to the host system), usually with tools
that also end with _FOR_BUILD such as CC_FOR_BUILD.

We start with basic support for these flags, as this will make it
possible for packages to start using them, and the support can be
extended later on.
man/dpkg-buildflags.pod
scripts/Dpkg/BuildFlags.pm
scripts/Dpkg/BuildInfo.pm
scripts/Dpkg/Vendor/Debian.pm
scripts/mk/buildflags.mk
scripts/t/Dpkg_BuildInfo.t
scripts/t/mk/buildflags.mk