summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslaren <slarengh@gmail.com>2024-02-20 20:06:17 +0100
committerGitHub <noreply@github.com>2024-02-20 20:06:17 +0100
commit06bf2cf8c406e6b70dbf9b431a02fa0ad845b9df (patch)
tree32420bef5ec6c53ead2fe1207cac8bab09cbfa33
parent4ed8e4fbef6a15afd993bfcd9ffa279841e18ef1 (diff)
make : fix debug build with CUDA (#5616)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 211a08d7..41c79c13 100644
--- a/Makefile
+++ b/Makefile
@@ -173,7 +173,7 @@ ifdef LLAMA_DEBUG
MK_LDFLAGS += -g
ifeq ($(UNAME_S),Linux)
- MK_CXXFLAGS += -Wp,-D_GLIBCXX_ASSERTIONS
+ MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
endif
else
MK_CPPFLAGS += -DNDEBUG