mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-10-27 14:36:32 +01:00 
			
		
		
		
	enable sized deallocation for sized deletion test
Clang doesn't currently enable sized deallocation by default like GCC.
This commit is contained in:
		
							parent
							
								
									9142a9376b
								
							
						
					
					
						commit
						de7a3b6e5a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1,6 +1,8 @@ | |||
| dir=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) | ||||
| 
 | ||||
| CONFIG_SLAB_CANARY := true | ||||
| # Clang 13 still doesn't enable sized deallocation by default
 | ||||
| CXXFLAGS := -std=c++17 -fsized-deallocation | ||||
| 
 | ||||
| ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false)) | ||||
|     $(error CONFIG_SLAB_CANARY must be true or false) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue