From 429e4c9f61f0553132d93e83dd439a9127dca023 Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 30 Mar 2023 21:31:35 +0200 Subject: [PATCH] libc: Disable -pedantic It does not like TRY(). --- libc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt index 36cfe3e4..73a10bab 100644 --- a/libc/CMakeLists.txt +++ b/libc/CMakeLists.txt @@ -40,7 +40,7 @@ target_link_libraries(bare_libc PUBLIC luna) target_include_directories(bare_libc PUBLIC include/) -target_compile_options(bare_libc PRIVATE -Os -Wall -Wextra -Werror -pedantic -nostdlib) +target_compile_options(bare_libc PRIVATE -Os -Wall -Wextra -Werror -nostdlib) target_compile_options(bare_libc PRIVATE -fno-exceptions -fno-rtti) target_link_options(bare_libc PRIVATE -nostdlib)