View | Details | Raw Unified | Return to bug 225406
Collapse All | Expand All

(-)Mk/Uses/fortran.mk (+2 lines)
Lines 22-27 Link Here
22
F77=		flang
22
F77=		flang
23
FC=		flang
23
FC=		flang
24
LDFLAGS+=	-L${LOCALBASE}/flang/lib -Wl,--as-needed -lflang -lexecinfo -Wl,--no-as-needed
24
LDFLAGS+=	-L${LOCALBASE}/flang/lib -Wl,--as-needed -lflang -lexecinfo -Wl,--no-as-needed
25
FLIBPATH=	${LOCALBASE}/lib
25
.else
26
.else
26
IGNORE=		USES=fortran: flang argument only available for amd64
27
IGNORE=		USES=fortran: flang argument only available for amd64
27
.endif
28
.endif
Lines 35-40 Link Here
35
FCFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
36
FCFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
36
LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
37
LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
37
		-L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin
38
		-L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin
39
FLIBPATH=	${LOCALBASE}/lib/gcc${_GCC_VER}
38
.else
40
.else
39
IGNORE=		USES=fortran: invalid arguments: ${fortran_ARGS}
41
IGNORE=		USES=fortran: invalid arguments: ${fortran_ARGS}
40
.endif
42
.endif

Return to bug 225406