diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-03-28 14:48:17 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-18 19:28:20 +0100 |
commit | 15bdae016654f63a36e49a37c9d26282bebb1da9 (patch) | |
tree | 244dcca52d1d1c6dde27d7ca6ac0a90c8ea69245 /gcc/config.gcc | |
parent | 1b34248527472496ca3fe2a07183beac8cf69041 (diff) | |
download | gcc-15bdae016654f63a36e49a37c9d26282bebb1da9.zip gcc-15bdae016654f63a36e49a37c9d26282bebb1da9.tar.gz gcc-15bdae016654f63a36e49a37c9d26282bebb1da9.tar.bz2 |
Darwin: Handle the -rpath command line option.
This handles the command line '-rpath' option by passing it through
to the static linker.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* config.gcc: Include rpath.opt for Darwin.
* config/darwin.h (DRIVER_SELF_SPECS): Handle -rpath.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index d9bfbfd..eb232df 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -700,7 +700,7 @@ case ${target} in tm_file="${tm_file} ${cpu_type}/darwin.h" tm_p_file="${tm_p_file} darwin-protos.h" target_gtfiles="$target_gtfiles \$(srcdir)/config/darwin.c" - extra_options="${extra_options} darwin.opt" + extra_options="${extra_options} rpath.opt darwin.opt" c_target_objs="${c_target_objs} darwin-c.o" cxx_target_objs="${cxx_target_objs} darwin-c.o" d_target_objs="${d_target_objs} darwin-d.o" |