Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 11:26:21 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454424 - head/Mk/Uses
Message-ID:  <201711181126.vAIBQLis082158@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Nov 18 11:26:21 2017
New Revision: 454424
URL: https://svnweb.freebsd.org/changeset/ports/454424

Log:
  Only link to libflang and libexecinfo as needed.

Modified:
  head/Mk/Uses/fortran.mk

Modified: head/Mk/Uses/fortran.mk
==============================================================================
--- head/Mk/Uses/fortran.mk	Sat Nov 18 11:21:52 2017	(r454423)
+++ head/Mk/Uses/fortran.mk	Sat Nov 18 11:26:21 2017	(r454424)
@@ -21,7 +21,7 @@ BUILD_DEPENDS+=	flang:devel/flang
 RUN_DEPENDS+=	flang:devel/flang
 F77=		flang
 FC=		flang
-LDFLAGS+=	-L${LOCALBASE}/flang/lib -lflang -lexecinfo
+LDFLAGS+=	-L${LOCALBASE}/flang/lib -Wl,--as-needed -lflang -lexecinfo -Wl,--no-as-needed
 .else
 IGNORE=		USES=fortran: flang argument only available for amd64
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711181126.vAIBQLis082158>