From 65439c163a02e2e82a2b060c31e7f91dc469f639 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Wed, 7 Jun 2023 09:36:14 -0700 Subject: [PATCH] Compile sys libraries without exceptions. --- sys/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/CMakeLists.txt b/sys/CMakeLists.txt index b76e359..9a6c0af 100644 --- a/sys/CMakeLists.txt +++ b/sys/CMakeLists.txt @@ -1,5 +1,5 @@ -set(_COMPILE_FLAGS "-ffreestanding -mgeneral-regs-only") +set(_COMPILE_FLAGS "-ffreestanding -fno-exceptions -mgeneral-regs-only") set(_LINK_FLAGS "-nostdlib") set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")