From: Iain Sandoe Date: Thu, 10 Apr 2025 10:58:58 +0000 (+0100) Subject: Darwin: Add spec substitution for static-libgcobol. X-Git-Tag: basepoints/gcc-16~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c703f67b77b66fc022db47bace69823617459dc;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8c164fd4b75..9b9a3fe4038 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)}\