make : fix debug build with CUDA (#5616)
This commit is contained in:
parent
4ed8e4fbef
commit
06bf2cf8c4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue