diff options
author | marino <marino> | 2016-12-03 15:37:34 +0000 |
---|---|---|
committer | marino <marino> | 2016-12-03 15:37:34 +0000 |
commit | 43a96fdd2e5ed1e7937eb0c33f02d59dfcf2add9 (patch) | |
tree | e9d319ddb390ff644075addbc150f083145e24b8 /math/blas | |
parent | 8e7a81746fa5114ba67dedd55cf514109614a623 (diff) | |
download | pkgsrc-43a96fdd2e5ed1e7937eb0c33f02d59dfcf2add9.tar.gz |
math/lapack: Restore build on DragonFly
Linking lapack with the gold linker fails with this error:
fatal error: --sysroot=: must take a non-empty argument
DragonFly has been using the gold linker by default for a while now.
Since I don't have time to track down this linking problem, I'm going
to restore the build on DragonFly by setting an environment variable
that forces DF to use the classic GNU linker instead.
This was already fixed on math/blas which uses the lapack common
makefile, so just relocate the fix to lapack.
Diffstat (limited to 'math/blas')
-rw-r--r-- | math/blas/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile index 45caf624b9a..aca0869db2f 100644 --- a/math/blas/Makefile +++ b/math/blas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2016/12/03 03:42:44 marino Exp $ +# $NetBSD: Makefile,v 1.36 2016/12/03 15:37:34 marino Exp $ .include "../../math/lapack/Makefile.common" @@ -10,12 +10,6 @@ PATCHDIR= ${.CURDIR}/../../math/lapack/patches BUILD_TARGET= blaslib -# blas fails using the gold linker with: -# fatal error: --sysroot=: must take a non-empty argument -# Work around it on DragonFly by specifying the classic gnu linker - -MAKE_ENV+= LDVER=ld.bfd - do-install: ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \ ${DESTDIR}${PREFIX}/lib |