aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-04-10 11:58:58 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-04-10 14:12:02 +0100
commit8c703f67b77b66fc022db47bace69823617459dc (patch)
tree5c84440e6d21042f643ba7ddfae146aa2f8974f3 /gcc
parentbf812c6ad83ec0b241bb3fecc7e68f883b6083df (diff)
downloadgcc-8c703f67b77b66fc022db47bace69823617459dc.zip
gcc-8c703f67b77b66fc022db47bace69823617459dc.tar.gz
gcc-8c703f67b77b66fc022db47bace69823617459dc.tar.bz2
Darwin: Add spec substitution for static-libgcobol.
This just follows the common pattern used for other runtime libs. gcc/ChangeLog: * config/darwin.h (LINK_SPEC): Add support for -static-libgcobol. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/darwin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 8c164fd..9b9a3fe 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -504,6 +504,7 @@ extern GTY(()) int darwin_ms_struct;
%{static|static-libgcc|static-libgfortran:%:replace-outfile(-lgfortran libgfortran.a%s)}\
%{static|static-libgcc|static-libquadmath:%:replace-outfile(-lquadmath libquadmath.a%s)}\
%{static|static-libgcc|static-libphobos:%:replace-outfile(-lgphobos libgphobos.a%s)}\
+ %{static|static-libgcc|static-libgcobol:%:replace-outfile(-lgcobol libgcobol.a%s)}\
%{static|static-libgcc|static-libstdc++|static-libgfortran:%:replace-outfile(-lgomp libgomp.a%s)}\
%{static|static-libgcc|static-libstdc++:%:replace-outfile(-lstdc++ libstdc++.a%s)}\
%{static|static-libgm2:%:replace-outfile(-lm2pim libm2pim.a%s)}\