From owner-svn-ports-head@freebsd.org Sat Nov 18 11:26:23 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D1E9DB8EAF; Sat, 18 Nov 2017 11:26:23 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC0296C530; Sat, 18 Nov 2017 11:26:22 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAIBQLDi082159; Sat, 18 Nov 2017 11:26:21 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAIBQLis082158; Sat, 18 Nov 2017 11:26:21 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201711181126.vAIBQLis082158@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sat, 18 Nov 2017 11:26:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454424 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 454424 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 11:26:23 -0000 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