Skip to content

Enable automatic generation of compiler flag list for Clang tooling#2008

Merged
Rangi42 merged 3 commits into
gbdev:masterfrom
ISSOtm:flags
Jul 11, 2026
Merged

Enable automatic generation of compiler flag list for Clang tooling#2008
Rangi42 merged 3 commits into
gbdev:masterfrom
ISSOtm:flags

Conversation

@ISSOtm

@ISSOtm ISSOtm commented Jul 5, 2026

Copy link
Copy Markdown
Member

Fixes #1995, removing one source of truth for our flags.

I have considered removing REAL{CXX,LD}FLAGS and replacing them with the three variables, but idk if that's desirable.

@ISSOtm
ISSOtm requested a review from Rangi42 July 5, 2026 15:36
@ISSOtm ISSOtm added enhancement Typically new features; lesser priority than bugs meta This isn't related to the tools directly: repo organization, maintainership... labels Jul 5, 2026
@ISSOtm
ISSOtm marked this pull request as ready for review July 5, 2026 15:36

@Rangi42 Rangi42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good! A few suggestions and questions.

Comment thread .gitignore
Comment thread Makefile Outdated
Comment thread Makefile Outdated
@Rangi42 Rangi42 added this to the 1.0.2 milestone Jul 6, 2026
@Rangi42

Rangi42 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

I have considered removing REAL{CXX,LD}FLAGS and replacing them with the three variables, but idk if that's desirable.

The REAL{CXX,LD}FLAGS groupings show up often enough that I think they're a worthwhile factoring-out. It would otherwise be too easy to miss one of the {_,WARN,REQUIRED}FLAGS.

@Rangi42
Rangi42 merged commit 22bd8a9 into gbdev:master Jul 11, 2026
28 checks passed
@ISSOtm
ISSOtm deleted the flags branch July 11, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Typically new features; lesser priority than bugs meta This isn't related to the tools directly: repo organization, maintainership...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Have one (or fewer) sources of truth for compile flags

2 participants