projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4a781
)
cuda.eclass: Only source eclass once
author
Justin Lecher
<jlec@gentoo.org>
Wed, 27 Jan 2016 14:25:45 +0000
(15:25 +0100)
committer
Justin Lecher
<jlec@gentoo.org>
Thu, 28 Jan 2016 07:48:10 +0000
(08:48 +0100)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
eclass/cuda.eclass
patch
|
blob
|
history
diff --git
a/eclass/cuda.eclass
b/eclass/cuda.eclass
index d56abc8630f3574ad2f88e68cfd22d389e8f5f3a..e8d9178e2c34210c434186c9d5a71ff1d6d04b04 100644
(file)
--- a/
eclass/cuda.eclass
+++ b/
eclass/cuda.eclass
@@
-16,6
+16,8
@@
inherit flag-o-matic toolchain-funcs versionator
# @EXAMPLE:
# inherit cuda
+if [[ -z ${_CUDA_ECLASS} ]]; then
+
# @ECLASS-VARIABLE: NVCCFLAGS
# @DESCRIPTION:
# nvcc compiler flags (see nvcc --help), which should be used like
@@
-132,3
+134,6
@@
case "${EAPI:-0}" in
EXPORT_FUNCTIONS src_prepare ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac
+
+_CUDA_ECLASS=1
+fi