diff --git a/Makefile b/Makefile index 80a57a0..900e119 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,8 @@ LINUX_GL_LIBS = -lGL CXXFLAGS += -fsanitize=undefined,thread -std=c++20 -I$(IMGUI_DIR) -I$(IMGUI_DIR)/misc/cpp -I$(IMGUI_DIR)/backends -D'IMGUI_USER_CONFIG="../myimconfig.h"' # https://t.me/NightShadowsHangout/670691 CXXFLAGS += -g -Werror -Wall -Wextra -Wshadow -Wpedantic -Wno-gnu-anonymous-struct -fno-rtti -fPIC -Wconversion -Wno-unused-parameter -Wimplicit-fallthrough +# https://sourceforge.net/p/valgrind/mailman/valgrind-users/thread/Ygze8PzaQAYWlKDj%40wildebeest.org/ +CXXFLAGS += -gdwarf-4 LIBS = ##---------------------------------------------------------------------