LibC: Compile without exceptions
This allows libc to not require __gxx_personality_v0. I can maybe add C++ back to libc... :D I don't know why I did not research earlier what this symbols was used for
This commit is contained in:
		
							parent
							
								
									10ce03a1e7
								
							
						
					
					
						commit
						edc30cd71d
					
				|  | @ -34,7 +34,7 @@ set(LIBC_SOURCES | |||
| ) | ||||
| 
 | ||||
| add_library(libc ${LIBC_SOURCES}) | ||||
| target_compile_options(libc PRIVATE -O2 -g -Wstack-usage=512 -fno-tree-loop-distribute-patterns -nostdlib) | ||||
| target_compile_options(libc PRIVATE -O2 -g -Wstack-usage=512 -fno-tree-loop-distribute-patterns -fno-exceptions -nostdlib) | ||||
| target_compile_options(libc PUBLIC -Wall -Wextra -Werror -Wno-error=stack-usage=) | ||||
| 
 | ||||
| function(add_crtx crtx) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue