diff --git a/src/components/cuda/tests/Makefile b/src/components/cuda/tests/Makefile index 1b4d4db2a..a2f337a98 100644 --- a/src/components/cuda/tests/Makefile +++ b/src/components/cuda/tests/Makefile @@ -15,7 +15,7 @@ TESTS_NOCTX = concurrent_profiling_noCuCtx pthreads_noCuCtx \ NVCC = $(PAPI_CUDA_ROOT)/bin/nvcc PAPI_FLAG = -DPAPI # Comment this line for tests to run without PAPI profiling -NVCFLAGS += -g -ccbin='$(CC)' $(PAPI_FLAG) +NVCFLAGS = -g -ccbin='$(CC)' $(PAPI_FLAG) CFLAGS += -g $(PAPI_FLAG) INCLUDE += -I$(PAPI_CUDA_ROOT)/include CUDALIBS = -L$(PAPI_CUDA_ROOT)/lib64 -lcudart -lcuda