build: removing the debug flag to correction

This commit is contained in:
Raphael 2025-03-20 15:17:55 +01:00
parent 1b83e7a47a
commit 12c51ae90e
3 changed files with 10 additions and 10 deletions

View file

@ -24,8 +24,8 @@ CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/
# Flags to have the dependences (can be removed for correction) # Flags to have the dependences (can be removed for correction)
CXXFLAGS += -MMD CXXFLAGS += -MMD
# Flags to have the debug (can be removed for correction) # Flags to have the debug (can be removed for correction)
DEBUG += -g3 -fsanitize=address # DEBUG += -g3 -fsanitize=address
CXXFLAGS += $(DEBUG) # CXXFLAGS += $(DEBUG)
# Sources # Sources
SRC = Bureaucrat.cpp \ SRC = Bureaucrat.cpp \

View file

@ -6,7 +6,7 @@
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ # # By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2025/03/18 22:57:32 by rparodi ### ########.fr # # Updated: 2025/03/20 15:17:19 by rparodi ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -25,9 +25,9 @@ CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/
# Flags to have the dependences (can be removed for correction) # Flags to have the dependences (can be removed for correction)
CXXFLAGS += -MMD CXXFLAGS += -MMD
# Flags to have the debug (can be removed for correction) # Flags to have the debug (can be removed for correction)
DEBUG = -g3 # DEBUG = -g3
DEBUG += -fsanitize=address # DEBUG += -fsanitize=address
CXXFLAGS += $(DEBUG) # CXXFLAGS += $(DEBUG)
# Sources # Sources
SRC = Bureaucrat.cpp \ SRC = Bureaucrat.cpp \

View file

@ -6,7 +6,7 @@
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ # # By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2025/03/19 19:30:02 by rparodi ### ########.fr # # Updated: 2025/03/20 15:17:36 by rparodi ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -25,9 +25,9 @@ CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/
# Flags to have the dependences (can be removed for correction) # Flags to have the dependences (can be removed for correction)
CXXFLAGS += -MMD CXXFLAGS += -MMD
# Flags to have the debug (can be removed for correction) # Flags to have the debug (can be removed for correction)
DEBUG = -g3 # DEBUG = -g3
DEBUG += -fsanitize=address # DEBUG += -fsanitize=address
CXXFLAGS += $(DEBUG) # CXXFLAGS += $(DEBUG)
# Sources # Sources
SRC = Bureaucrat.cpp \ SRC = Bureaucrat.cpp \