Skip to content

ci: Drop BASE_CFLAGS - #748

Closed
bbhtt wants to merge 1 commit into
mainfrom
bbhtt/cflags
Closed

bbhtt wants to merge 1 commit into
mainfrom
bbhtt/cflags

Conversation

@bbhtt

@bbhtt bbhtt commented May 27, 2026 •

Copy link
Copy Markdown
Collaborator
BASE_CFLAGS was leftover from autotools [1], we forgot to drop it
in [2]. Oops!

_FORTIFY_SOURCE=2 is set via distro's GCC in the 26.04 container
so we do not need to define it again and doing so causes
a redefinition warning.

[1]: https://github.com/flatpak/flatpak-builder/commit/fe8a52d5e8814289a0b3f248c4b5d3c06e5b8343#diff-0462e381b2fb3286568215681c8983490a37ac9ae0f0c5ee304df7fa6426d4afL46
[2]: https://github.com/flatpak/flatpak-builder/pull/691

BASE_CFLAGS was leftover from autotools [1], we forgot to drop it
in [2]. Oops!

_FORTIFY_SOURCE=2 is set via distro's GCC in the 26.04 container
so we do not need to define it again and doing so causes
a redefinition warning.

[1]: fe8a52d#diff-0462e381b2fb3286568215681c8983490a37ac9ae0f0c5ee304df7fa6426d4afL46
[2]: #691
@bbhtt bbhtt changed the title ci: Use CFLAGS variable to set cflags ci: Drop BASE_CFLAGS May 27, 2026
@bbhtt bbhtt closed this May 27, 2026
@bbhtt
bbhtt deleted the bbhtt/cflags branch May 27, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant