Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/flann/
Date: Tue, 06 Feb 2018 18:05:20
Message-Id: 1517940285.a27be96554ff89124e27de08d56d34215428dd1d.amynka@gentoo
1 commit: a27be96554ff89124e27de08d56d34215428dd1d
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 6 17:56:07 2018 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 6 18:04:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27be965
7
8 sci-libs/flann: fix cuda linking error
9
10 Submitted-by: pa.lacaze <AT> gmail.com
11 Closes: https://bugs.gentoo.org/607062
12 Package-Manager: Portage-2.3.13, Repoman-2.3.3
13
14 sci-libs/flann/flann-1.9.1.ebuild | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/sci-libs/flann/flann-1.9.1.ebuild b/sci-libs/flann/flann-1.9.1.ebuild
18 index cc7583379a9..af848293644 100644
19 --- a/sci-libs/flann/flann-1.9.1.ebuild
20 +++ b/sci-libs/flann/flann-1.9.1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -73,7 +73,7 @@ src_configure() {
28 -DUSE_OPENMP=$(usex openmp)
29 )
30 use cuda && mycmakeargs+=(
31 - -DCUDA_NVCC_FLAGS="${NVCCFLAGS},-arsch"
32 + -DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\""
33 )
34 cmake-utils_src_configure
35 }