From: slaren Date: Tue, 20 Feb 2024 19:06:17 +0000 (+0100) Subject: make : fix debug build with CUDA (#5616) X-Git-Tag: upstream/0.0.4488~2268 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=06bf2cf8c406e6b70dbf9b431a02fa0ad845b9df;p=pkg%2Fggml%2Fsources%2Fllama.cpp make : fix debug build with CUDA (#5616) --- 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