summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c9490f1..f5e676b 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@
include version_detection.mk
-ifeq ($(GPGPUSIM_CONFIG), debug)
+ifeq ($(GPGPUSIM_CONFIG), $(CUDART_VERSION)/debug)
export DEBUG=1
else
export DEBUG=0