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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user