mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user