diff options
author | Bartek Rutkowski <robak@FreeBSD.org> | 2015-03-24 17:29:47 +0000 |
---|---|---|
committer | Bartek Rutkowski <robak@FreeBSD.org> | 2015-03-24 17:29:47 +0000 |
commit | e791039273495b53ac1f1208a98e310526f45b83 (patch) | |
tree | 41207ea71860771ed6ca96cdade7da147890c904 /math/lapack | |
parent | 28ca5b96a23102bc508dd441fedf3cdf3eef313f (diff) |
math/lapack: fix build when PROFILE option is selected
- Since dynamic linking is broken when PROFILE is used, enforce '-static' LDFLAGS
- Maintainer's timeout (maho@FreeBSD.org)
PR: 185375
Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com>
Notes
Notes:
svn path=/head/; revision=382127
Diffstat (limited to 'math/lapack')
-rw-r--r-- | math/lapack/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 3e7f3ad4827d..34ba355db8a0 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -80,6 +80,10 @@ PICFLAG?= -fpic FFLAGS_PROFILE?= -pg FFLAGS_SHARED ?= ${PICFLAG} +.if ${PORT_OPTIONS:MPROFILE} +LDFLAGS+= -static +.endif + .if ${PORT_OPTIONS:MPROFILE} && !exists(/usr/lib/libc_p.a) IGNORE= you have chosen WITH_PROFILE, but have not installed the\ base system profiling libraries |