Skip to content

Commit

Permalink
Mk/Uses/fortran.mk: remove -B from LDFLAGS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thierry-FreeBSD committed Nov 2, 2023
1 parent dd77faf commit 833bce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mk/Uses/fortran.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 833bce4

Please sign in to comment.