Yaksa currently does not pass CFLAGS to NVCC when building .cu files. This is somewhat useful because the CFLAGS are only tested against one compiler (CC), but not against NVCC. But this is also causing NVCC to not see some useful flags like -g.
The build system needs to be improved to create an NVCC specific set of CFLAGS too.