diff options
author | Amy Liffey <amynka@gentoo.org> | 2018-02-06 18:56:07 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-02-06 19:04:45 +0100 |
commit | a27be96554ff89124e27de08d56d34215428dd1d (patch) | |
tree | b7b07157ddbb5c7aa353414988d49a7f482e77d1 | |
parent | 282bec3de0804ffb7a479c57d52f85678ab61169 (diff) | |
download | gentoo-a27be96554ff89124e27de08d56d34215428dd1d.tar.gz gentoo-a27be96554ff89124e27de08d56d34215428dd1d.tar.xz |
sci-libs/flann: fix cuda linking error
Submitted-by: pa.lacaze@gmail.com
Closes: https://bugs.gentoo.org/607062
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r-- | sci-libs/flann/flann-1.9.1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/flann/flann-1.9.1.ebuild b/sci-libs/flann/flann-1.9.1.ebuild index cc7583379a9..af848293644 100644 --- a/sci-libs/flann/flann-1.9.1.ebuild +++ b/sci-libs/flann/flann-1.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -73,7 +73,7 @@ src_configure() { -DUSE_OPENMP=$(usex openmp) ) use cuda && mycmakeargs+=( - -DCUDA_NVCC_FLAGS="${NVCCFLAGS},-arsch" + -DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\"" ) cmake-utils_src_configure } |