git: 833bce429aa8 - main - Mk/Uses/fortran.mk: remove -B from LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Nov 2023 16:03:33 UTC
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