Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2023 16:03:33 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 833bce429aa8 - main - Mk/Uses/fortran.mk: remove -B from LDFLAGS
Message-ID:  <202311021603.3A2G3Xhu076379@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=833bce429aa81e28dd8213540adb046dd58987ce

commit 833bce429aa81e28dd8213540adb046dd58987ce
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-02 11:24:48 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-02 16:02:05 +0000

    Mk/Uses/fortran.mk: remove -B from LDFLAGS
    
    That flag makes the compiler use /usr/local/bin/ld from devel/binutils.
    The base system was stuck with an old GPLv2 version of binutils at the
    time and lang/gcc required a newer version.
    
    With LLVM ld in base it seems to be safe to remove that flag.
    
    Discussed with: tijl
---
 Mk/Uses/fortran.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/fortran.mk b/Mk/Uses/fortran.mk
index d335fad4dc8e..82336932c4f6 100644
--- a/Mk/Uses/fortran.mk
+++ b/Mk/Uses/fortran.mk
@@ -28,7 +28,7 @@ FFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
 F90FLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
 FCFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
 LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
-		-L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin
+		-L${LOCALBASE}/lib/gcc${_GCC_VER}
 .  else
 IGNORE=		USES=fortran: invalid arguments: ${fortran_ARGS}
 .  endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311021603.3A2G3Xhu076379>