]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make : fix debug build with CUDA (#5616)
authorslaren <redacted>
Tue, 20 Feb 2024 19:06:17 +0000 (20:06 +0100)
committerGitHub <redacted>
Tue, 20 Feb 2024 19:06:17 +0000 (20:06 +0100)
Makefile

index 211a08d7ff186e8a20b3bec5c57dcd46194bea91..41c79c135467a630005f5390c8d533267ed216f8 100644 (file)
--- 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