Skip to content

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

Description

@hector-cao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions