public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-11234] libgfortran: avoid duplicate libraries in spec
@ 2024-02-11 13:52 François-Xavier Coudert
  0 siblings, 0 replies; only message in thread
From: François-Xavier Coudert @ 2024-02-11 13:52 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:407100bffa8c66e92fd4f6bfd2a083995b9dab93

commit r11-11234-g407100bffa8c66e92fd4f6bfd2a083995b9dab93
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date:   Sun Feb 11 14:51:39 2024 +0100

    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.

Diff:
---
 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 95aa3f842a30..0ea15950514c 100644
--- a/libgfortran/libgfortran.spec.in
+++ b/libgfortran/libgfortran.spec.in
@@ -5,4 +5,4 @@
 #
 
 %rename lib liborig
-*lib: @LIBQUADSPEC@ -lm %(libgcc) %(liborig)
+*lib: @LIBQUADSPEC@ -lm %(liborig)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-11 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-11 13:52 [gcc r11-11234] libgfortran: avoid duplicate libraries in spec François-Xavier Coudert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).