← Back to issue list

[Feature] Add support for dpkg-buildflags for C/C++/Rust

View original Github issue

Metadata

Project
debcraft
Number
#149
Type
issue
State
open
Author
hector-cao
Labels
Status: Triaged
Created
2026-04-27 14:56:25+00:00
Updated
2026-05-22 16:30:09+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

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.

Evaluation history

No evaluation history available.