← Back to issue list

Add support for compiler flags in autotools plugin

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1636233
Type
issue
State
open
Author
~ivan-lezhnjov-iv
Labels
plugin
Created
Updated
Closed

Current evaluation

Feature request to add compiler flag support (cflags) to the autotools plugin, similar to configflags, needed for packaging PostgreSQL with flags like -fPIC -pie and mit-krb5 paths. No maintainer response, no labels beyond 'plugin', and no activity in ~10 years.

Suggested action: needs triage

Reason: The issue is a feature request from an external contributor with zero comments, no maintainer acknowledgement, and no assignee. It has been open for ~10 years (3598 days) with no activity. The autotools plugin in craft-parts may have evolved since then, but there is no evidence this was implemented or rejected. It needs triage to determine if it's still relevant or if the environment variable workaround (CFLAGS) already covers this use case.

Impact: 40 Quick Win: 28.0 Staleness: 95 Complexity: 30 Confidence: 60 Support Request: 10

Issue body

When packaging PostgreSQL I needed to pass a number of compiler flags but unfortunately there seems to be no way to do it currently. Flags like these, for example: -Xsepgsql -fPIC -pie -I/usr/include/mit-krb5 -Wl,--as-needed -L/usr/lib/mit-krb5 -L/usr/lib/i386/mit-krb5 It would be nice if the autotools plugin became capable of handling compiler flags like configflags: currently does.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 28.0
Staleness: 95
Complexity: 30
Confidence: 60
Support Request: 10
needs triage Feature request to add compiler flag support (cflags) to the autotools plugin, similar to configflags, needed for packaging PostgreSQL with flags like -fPIC -pie and mit-krb5 paths. No maintainer response, no labels beyond 'plugin', and no activity in ~10 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 85
Support Request: 10
close stale Feature request to add compiler flag support to the autotools plugin, mirroring configflags functionality. Open for nearly 10 years with zero maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 70
close stale Feature request to add compiler flag support to the autotools plugin, similar to configflags. Unanswered and inactive for nearly 10 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 55
Confidence: 90
Support Request: 10
close stale Request to add compiler flag support to the autotools plugin, similar to existing configflags handling. Issue remains open with no maintainer response or activity for nearly a decade.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 40
Confidence: 85
Support Request: 10
close stale Request to add compiler flag support to the autotools plugin, matching configflags functionality for PostgreSQL packaging. Open, zero comments, stale, and needs triage or assignment.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.