[Patch] Allow SECTION_FLAGS to be overridden by EXTRA_CXX_FLAGS
Phil Edwards
phil@jaj.com
Mon Jan 27 14:42:00 GMT 2003
On Mon, Jan 27, 2003 at 10:10:37AM +1100, Danny Smith wrote:
> The attached patch allows the configure switch:
> --enable-cxx-flags='-fno-data-sections -fno-function-sections'
> to work by reversing the order of @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@
You didn't say that this has been tested (what primary platforms, what
branches), but I'm assuming you have done.
> -fdata-sections and -ffunction-sections appear to offer no advantage
> on mingw32 target but do make larger executeables.
I'm rather surprised that they aren't disabled/ignored on that platform.
(By the compiler, I mean.)
> 2003-01-27 Danny Smith <dannysmith@users.sourceforge.net>
>
> * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
> @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
> * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
> * src/Makefile.in: Regenerate.
> * libsupc++/Makefile.in: Regenerate.
While you do need to mention the .in files in the changelog entry, there's
no need to actually post that part of the diff.
This is okay for mainline.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
More information about the Libstdc++
mailing list