From d31c54c7da7661a964de59765fa8e7938796cc86 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Mon, 18 Dec 2023 16:17:22 +0100 Subject: [PATCH] libgfortran: avoid duplicate libraries in spec The linking of libgcc is already present in %(liborig), so the current situation duplicates libraries. This was not an issue until macOS's new linker started giving warnings for such cases. libgfortran/ChangeLog: PR libfortran/110651 * libgfortran.spec.in: Remove duplicate libraries. --- libgfortran/libgfortran.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgfortran/libgfortran.spec.in b/libgfortran/libgfortran.spec.in index 367d485c230..058ee5775bf 100644 --- a/libgfortran/libgfortran.spec.in +++ b/libgfortran/libgfortran.spec.in @@ -5,4 +5,4 @@ # %rename lib liborig -*lib: @LIBQUADSPEC@ @LIBM@ %(libgcc) %(liborig) +*lib: @LIBQUADSPEC@ @LIBM@ %(liborig)