]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgfortran: avoid duplicate libraries in spec
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 11 Feb 2024 13:51:39 +0000 (14:51 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 11 Feb 2024 13:51:39 +0000 (14:51 +0100)
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

index 95aa3f842a30a9bfc073c68735e9f13f8d11139f..0ea15950514cc282a452a5053c293dfd921b7e9c 100644 (file)
@@ -5,4 +5,4 @@
 #
 
 %rename lib liborig
-*lib: @LIBQUADSPEC@ -lm %(libgcc) %(liborig)
+*lib: @LIBQUADSPEC@ -lm %(liborig)