From 5f43896a29284d7becf076ac7a0b0a0e13a5fdfd Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 9 Dec 2020 17:54:29 -0800 Subject: [PATCH] Disable C11 compat in libunwind --- src/coreclr/pal/src/libunwind/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/coreclr/pal/src/libunwind/CMakeLists.txt b/src/coreclr/pal/src/libunwind/CMakeLists.txt index ffb74a04e4cb49..9ab1710c954108 100644 --- a/src/coreclr/pal/src/libunwind/CMakeLists.txt +++ b/src/coreclr/pal/src/libunwind/CMakeLists.txt @@ -2,6 +2,10 @@ # It overwrites the one found in upstream project(unwind) +# Disable C11 compat +unset(CMAKE_C_STANDARD) +unset(CMAKE_C_STANDARD_REQUIRED) + set(CMAKE_INCLUDE_CURRENT_DIR ON) # define variables for the configure_file below