mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
build: separate debug flags
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,7 +6,9 @@ SANFLAGS = -fsanitize=address
|
|||||||
|
|
||||||
# SANFLAGS = -fsanitize=leak
|
# SANFLAGS = -fsanitize=leak
|
||||||
|
|
||||||
CXXFLAGS = -Wall -Wextra -Werror -g -std=c++98 -fno-limit-debug-info $(SANFLAGS) -DDEBUG
|
DEBUGFLAGS = -g -fno-limit-debug-info
|
||||||
|
|
||||||
|
CXXFLAGS = -Wall -Wextra -Werror -std=c++98 $(DEBUGFLAGS) $(SANFLAGS) -DDEBUG
|
||||||
|
|
||||||
CPPFLAGS += -MD -MP
|
CPPFLAGS += -MD -MP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user