From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2945139085 for ; Tue, 3 Jan 2017 08:46:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 309F4E0D3C; Tue, 3 Jan 2017 08:46:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A2EEE0D3C for ; Tue, 3 Jan 2017 08:46:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECF70340F53 for ; Tue, 3 Jan 2017 08:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06AAD24E8 for ; Tue, 3 Jan 2017 08:46:32 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1483433182.a85d17b70ad468b095ab3d2fa3d10ab5d093f4b5.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/cuda.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: a85d17b70ad468b095ab3d2fa3d10ab5d093f4b5 X-VCS-Branch: master Date: Tue, 3 Jan 2017 08:46:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7b6c36f1-ba9a-4ff8-8fc7-7e95b2a9fdb5 X-Archives-Hash: 61f04956e8632d9764d283523ec642d5 commit: a85d17b70ad468b095ab3d2fa3d10ab5d093f4b5 Author: Marius Brehler linux sungazer de> AuthorDate: Tue Jan 3 08:23:55 2017 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Jan 3 08:46:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85d17b7 eclass/cuda.eclass: Fix passing compiler and linker options As documented in 'nvcc --help', the correct syntax is: --compiler-options ,... (-Xcompiler) --linker-options ,... (-Xlinker) Closes: https://github.com/gentoo/gentoo/pull/3310 eclass/cuda.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index 7873d14..79763e1 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -110,7 +110,7 @@ cuda_sanitize() { NVCCFLAGS+=" $(cuda_gccdir -f)" # Tell nvcc which flags should be used for underlying C compiler - NVCCFLAGS+=" --compiler-options=\"${CXXFLAGS}\" --linker-options=\"${rawldflags// /,}\"" + NVCCFLAGS+=" --compiler-options \"${CXXFLAGS}\" --linker-options \"${rawldflags// /,}\"" debug-print "Using ${NVCCFLAGS} for cuda" export NVCCFLAGS