CXXFLAGS are not being passed to nvcc commands
The CXXFLAGS environment variable should be honoured for both g++/clang++ commands, and for nvcc commands. This is controlled in vars.mk - the logic which constructs the final value of NVCCFLAGS could be simplified