summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-07-03 15:42:16 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-07-09 17:35:57 +0100
commit54258e22b0846aaa6bd3265f592feb161eecda75 (patch)
tree925be09d898ab2ab020f6f54ae0aa2e300d3bb52 /configure
parent511cec029c6592ee553d9087d8b2bbf7719cf30d (diff)
downloadgcc-54258e22b0846aaa6bd3265f592feb161eecda75.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 732d1870b3d..85ab9915402 100755
--- a/configure
+++ b/configure
@@ -4074,7 +4074,7 @@ fi
hppa*-*)
host_makefile_frag="config/mh-pa"
;;
- *-*-darwin*)
+ i?86-*-darwin[89]* | i?86-*-darwin1[0-7]* | powerpc*-*-darwin*)
host_makefile_frag="config/mh-darwin"
;;
powerpc-*-aix*)