Skip to content

configure: write empty-but-set XXX_FOR_BUILD flags to mconfig - #578

Merged
mobin-2008 merged 1 commit into
davmac314:masterfrom
mobin-2008:configure_XXX_FOR_BUILD_set_but_empty
Aug 20, 2026
Merged

configure: write empty-but-set XXX_FOR_BUILD flags to mconfig#578
mobin-2008 merged 1 commit into
davmac314:masterfrom
mobin-2008:configure_XXX_FOR_BUILD_set_but_empty

Conversation

@mobin-2008

Copy link
Copy Markdown
Collaborator

Always write 'CXXFLAGS_FOR_BUILD', 'CPPFLAGS_FOR_BUILD' and 'LDFLAGS_FOR_BUILD' variables to mconfig if they are set.

Addresses #552

Tested with ./configure CXX="clang++" CXXFLAGS="--target=aarch64-linux-gnu -std=c++11" CXXFLAGS_FOR_BUILD=""

@davmac314 davmac314 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The change is fine, but can you please adjust the commit message slightly so that it reads clearly: hyphenate 'empty-but-set'.

configure: write empty-but-set XXX_FOR_BUILD flags to mconfig

Otherwise it reads like "write empty, but set XXX_FOR_BUILD flags to mconfig" which doesn't make sense.

Always write 'CXXFLAGS_FOR_BUILD', 'CPPFLAGS_FOR_BUILD' and
'LDFLAGS_FOR_BUILD' variables to mconfig if they are set.

Addresses davmac314#552
@mobin-2008
mobin-2008 force-pushed the configure_XXX_FOR_BUILD_set_but_empty branch from 6749bd7 to 36688b0 Compare August 20, 2026 09:50
@mobin-2008 mobin-2008 changed the title configure: write empty but set XXX_FOR_BUILD flags to mconfig configure: write empty-but-set XXX_FOR_BUILD flags to mconfig Aug 20, 2026
@mobin-2008
mobin-2008 merged commit 2e8a896 into davmac314:master Aug 20, 2026
13 of 14 checks passed
@mobin-2008
mobin-2008 deleted the configure_XXX_FOR_BUILD_set_but_empty branch August 20, 2026 21:21
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.

2 participants