]> 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>
Fri, 9 Jul 2021 16:35:57 +0000 (17:35 +0100)
commit54258e22b0846aaa6bd3265f592feb161eecda75
tree925be09d898ab2ab020f6f54ae0aa2e300d3bb52
parent511cec029c6592ee553d9087d8b2bbf7719cf30d
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.
config/mh-darwin
configure
configure.ac