]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Allow 'configure.host' to pre-set 'EXTRA_CFLAGS', 'EXTRA_CXX_FLAGS'
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 26 Feb 2025 09:13:51 +0000 (10:13 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 13 Mar 2025 12:07:27 +0000 (13:07 +0100)
commit5967fe0dd1f3a49176740553cd147e99d6950895
treea36676c49899e0e633a7a2b1dc6ac23b8aebe42d
parentfeb75e4643dca350b946b85ee25f4818ce6ce308
libstdc++: Allow 'configure.host' to pre-set 'EXTRA_CFLAGS', 'EXTRA_CXX_FLAGS'

In particular, 'GLIBCXX_ENABLE_CXX_FLAGS' shouldn't overwrite 'EXTRA_CXX_FLAGS'
(and instead append any additional '--enable-cxx-flags=[...]').

libstdc++-v3/
* acinclude.m4 (GLIBCXX_ENABLE_CXX_FLAGS): Append to
'EXTRA_CXX_FLAGS' any additional flags.
* configure: Regenerate.
* configure.host: Document 'EXTRA_CFLAGS', 'EXTRA_CXX_FLAGS'.
libstdc++-v3/acinclude.m4
libstdc++-v3/configure
libstdc++-v3/configure.host