Debian package building allows to set global build policies for a package building via dpkg-buildflags.
This has been true for a long time for C/C++ applications and recently the support for Rust has been added.
As of now, developers can inject these options manually by playing with the build plugin options and parameters.
Example for meson:
meson-parameters:
- -Dc_args="$(dpkg-buildflags --get CFLAGS)"
But I think debcraft should handle this automatically as this is an integral part of the Debian package building process.
Debian package building allows to set global build policies for a package building via dpkg-buildflags.
This has been true for a long time for C/C++ applications and recently the support for Rust has been added.
As of now, developers can inject these options manually by playing with the build plugin options and parameters.
Example for meson:
But I think debcraft should handle this automatically as this is an integral part of the Debian package building process.