From d21d11a8c9f47f1d24a4f91e8ecbfd4ddb393508 Mon Sep 17 00:00:00 2001 From: slaren Date: Tue, 20 Feb 2024 19:54:54 +0100 Subject: [PATCH] make : fix debug build with CUDA --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 211a08d7f..41c79c135 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