Skip to content
Snippets Groups Projects
Commit d4e69956 authored by Petr Rockai's avatar Petr Rockai
Browse files

cmake: Compile the dios kernel with -fno-exceptions.

parent 6c515619
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ mkobjs( libcxx "${flags};-D_LIBCPP_BUILDING_LIBRARY;-DLIBCXX_BUILDING_LIBCXXA
list( APPEND flags -I${CMAKE_CURRENT_SOURCE_DIR}/fs -I${CMAKE_CURRENT_BINARY_DIR}
-Wall -Wextra -Wold-style-cast -Werror)
mkobjs( dios "${flags};-D__dios_kernel__;-fno-rtti" )
mkobjs( dios "${flags};-D__dios_kernel__;-fno-rtti;-fno-exceptions" )
mkobjs( librst "${flags}" )
mklib( libc libc_cpp )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment