configure: Allow host fragments to react to --enable-host-shared.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 7 Aug 2023 11:07:24 +0000 (13:07 +0200)
committerAlan Modra <amodra@gmail.com>
Sat, 12 Aug 2023 00:54:26 +0000 (10:24 +0930)
commitc841db953822200b5f9babeb7ddeaefe0bb377df
treec20c13d49fea2f4683d95f0abd0deceaac0c26ff
parent3c4e12ba885df77650038870684396945eae867f
configure: Allow host fragments to react to --enable-host-shared.

This makes the host_shared value available to host makefile
fragments.

It uses this to adjust Darwin's mdynamic-no-pic in the case that
shared host resources are required.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
config/
* mh-darwin: Require a non-shared host configuration to
enable  mdynamic-no-pic where that is supported.
config/mh-darwin