]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, config: Revise host config fragment.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Jul 2021 14:42:16 +0000 (15:42 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 29 May 2022 19:04:23 +0000 (20:04 +0100)
commit107b1618fca7aa81cb73f17cdd22c055ecdcefb8
tree965672d82444252bbad693c12fe21922ba4ee275
parent18cb0117150855224da0e73776a3e0d2bb68e7e6
Darwin, config: Revise host config fragment.

There were two uses for the Darwin host config fragment:

The first is to arrange for targets that support mdynamic-no-pic
to be built with that enabled (since it makes a significant
difference to the compiler performance).  We can be more specific
in the application of this, since it only applies to 32b hosts
plus powerpc64-darwin9.

The second was to work around a tool bug where -fno-PIE was not
propagated to the link stage.  This second use is redundant,
since the buggy toolchain cannot bootstrap current GCC sources
anyway.

This makes the host fragment more specific and reduces the number
of toolchains for which it is included which reduces clutter in
configure lines.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
config/ChangeLog:

* mh-darwin: Make this specific to handling the
mdynamic-no-pic case.

ChangeLog:

* configure: Regenerate.
* configure.ac: Adjust cases for which it is necessary to
include the Darwin host config fragment.

(cherry picked from commit 54258e22b0846aaa6bd3265f592feb161eecda75)
config/mh-darwin
configure
configure.ac