From 669c105fa0bd260de1d89afed27e125c2e9d48b1 Mon Sep 17 00:00:00 2001 From: Frances Wingerter Date: Fri, 1 Sep 2023 17:34:21 -0400 Subject: [PATCH] runtime: require C11 (for bool) --- runtime/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index ec24212fac..4bbd817f8d 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -34,3 +34,10 @@ add_executable(landlock strv.c forbid_paths.c ) + +set_target_properties( + read-pkru track-memory-map seccomp-filter landlock +PROPERTIES + C_STANDARD 11 + C_STANDARD_REQUIRED ON +)