diff options
author | Sam James <sam@gentoo.org> | 2024-08-14 04:09:39 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-25 19:06:10 +0100 |
commit | 71011d3cb12a9418df84bda528173d3b1b9df8c0 (patch) | |
tree | 8cf9a41c53b3fb0198a9240feae9bddb7be99560 /bfd | |
parent | dfba4847f6a22eef700917e2718ea847d9f5cc9d (diff) | |
download | gdb-71011d3cb12a9418df84bda528173d3b1b9df8c0.zip gdb-71011d3cb12a9418df84bda528173d3b1b9df8c0.tar.gz gdb-71011d3cb12a9418df84bda528173d3b1b9df8c0.tar.bz2 |
ltmain.sh: allow more flags at link-time
libtool defaults to filtering flags passed at link-time.
This brings the filtering in GCC's 'fork' of libtool into sync with
upstream libtool commit 22a7e547e9857fc94fe5bc7c921d9a4b49c09f8e.
In particular, this now allows some harmless diagnostic flags (especially
useful for things like -Werror=odr), more optimization flags, and some
Clang-specific options.
GCC's -flto documentation mentions:
> To use the link-time optimizer, -flto and optimization options should be
> specified at compile time and during the final link. It is recommended
> that you compile all the files participating in the same link with the
> same options and also specify those options at link time.
This allows compliance with that.
* ltmain.sh (func_mode_link): Allow various flags through filter.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions