diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-07 14:40:33 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-18 19:46:32 +0100 |
commit | d39367fa82d95b646f0587a442156069100ee245 (patch) | |
tree | 274ba48f97736f574e06a1bddb288ce68d4fd51e /Makefile.tpl | |
parent | d2aa4e0b3b5053df8f5853d9ed29022ff0d3ecf6 (diff) | |
download | gcc-d39367fa82d95b646f0587a442156069100ee245.tar.gz |
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>
ChangeLog:
* Makefile.in: Regenerate.
* Makefile.tpl: Make the state of the configured host
shared flag available to makefile fragements.
config/ChangeLog:
* mh-darwin: Require a non-shared host configuration to
enable mdynamic-no-pic where that is supported.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index bffd85bd68e..9adf4f94728 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -112,6 +112,9 @@ RPATH_ENVVAR = @RPATH_ENVVAR@ # executables in PATH. GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@ +# If the build should make suitable code for shared host resources. +host_shared = @host_shared@ + # Build programs are put under this directory. BUILD_SUBDIR = @build_subdir@ # This is set by the configure script to the arguments to use when configuring |