From 6c7d2a2e25ea8c0905f424486f56a758c05c89f1 Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Sat, 22 Mar 2025 23:12:52 +0100 Subject: [PATCH] [SDK] Fix RelWithDebInfo (#7811) --- sdk/cmake/gcc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake index 54224a806ef..04df6f7cf26 100644 --- a/sdk/cmake/gcc.cmake +++ b/sdk/cmake/gcc.cmake @@ -166,7 +166,7 @@ endif() add_compile_options(-march=${OARCH} -mtune=${TUNE}) # Warnings, errors -if((NOT CMAKE_BUILD_TYPE STREQUAL "Release") AND (NOT CMAKE_C_COMPILER_ID STREQUAL Clang)) +if((NOT CMAKE_BUILD_TYPE STREQUAL "Release") AND (NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") AND (NOT CMAKE_C_COMPILER_ID STREQUAL Clang)) add_compile_options(-Werror) endif()