sci-libs/flann: fix cuda linking error
authorAmy Liffey <amynka@gentoo.org>
Tue, 6 Feb 2018 17:56:07 +0000 (18:56 +0100)
committerAmy Liffey <amynka@gentoo.org>
Tue, 6 Feb 2018 18:04:45 +0000 (19:04 +0100)
Submitted-by: pa.lacaze@gmail.com
Closes: https://bugs.gentoo.org/607062
Package-Manager: Portage-2.3.13, Repoman-2.3.3

sci-libs/flann/flann-1.9.1.ebuild

index cc7583379a9be83d38aa2496d940e3cab04eb530..af8482936440223f7953ea3486a14e5e7172bcc5 100644 (file)
@@ -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
 }