projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e09c5e
)
cuda.eclass: fix g++ check
author
syderitic
<onun23@gmail.com>
Sun, 4 Dec 2016 22:38:37 +0000
(22:38 +0000)
committer
Michał Górny
<mgorny@gentoo.org>
Tue, 20 Dec 2016 17:51:17 +0000
(18:51 +0100)
Currently the check against *g++* doesn't work, thus the NVCCFLAGS
are never set accordingly.
The check for gnu is now made through tc-is-gcc.
eclass/cuda.eclass
patch
|
blob
|
history
diff --git
a/eclass/cuda.eclass
b/eclass/cuda.eclass
index f8d7188a9b78c086415a14f692518f4924241cfd..cc92a3466256be380d32613ae9db1a4c04e405aa 100644
(file)
--- a/
eclass/cuda.eclass
+++ b/
eclass/cuda.eclass
@@
-47,7
+47,7
@@
cuda_gccdir() {
local gcc_bindir ver args="" flag ret
# Currently we only support the gnu compiler suite
- if
[[ $(tc-getCXX) != *g++* ]]
; then
+ if
! tc-is-gcc
; then
ewarn "Currently we only support the gnu compiler suite"
return 2
fi