make : fix debug build with CUDA (#5616)

This commit is contained in:
slaren 2024-02-20 20:06:17 +01:00 committed by GitHub
parent 4ed8e4fbef
commit 06bf2cf8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ ifdef LLAMA_DEBUG
MK_LDFLAGS += -g MK_LDFLAGS += -g
ifeq ($(UNAME_S),Linux) ifeq ($(UNAME_S),Linux)
MK_CXXFLAGS += -Wp,-D_GLIBCXX_ASSERTIONS MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
endif endif
else else
MK_CPPFLAGS += -DNDEBUG MK_CPPFLAGS += -DNDEBUG