Fix valgrind
This commit is contained in:
		
							parent
							
								
									8a4eaea7f9
								
							
						
					
					
						commit
						01b2330ebc
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								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"'
 | 
					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
 | 
					# 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
 | 
					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 =
 | 
					LIBS =
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##---------------------------------------------------------------------
 | 
					##---------------------------------------------------------------------
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue