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
This commit is contained in:
Thierry Thomas 2023-11-02 12:24:48 +01:00
parent dd77fafef4
commit 833bce429a

View file

@ -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