From 50647e58e45fd10653d7d208dd3f0433af3be8bd Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Sat, 19 Oct 2024 12:25:16 -0700 Subject: [PATCH] [SDK] Disable the unknown-pragma for GCC --- sdk/cmake/gcc.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake index df28387349483..cecbd895cd4f7 100644 --- a/sdk/cmake/gcc.cmake +++ b/sdk/cmake/gcc.cmake @@ -50,6 +50,7 @@ add_compile_options(-mlong-double-64) add_compile_options("$<$>:-nostdinc>") if(CMAKE_C_COMPILER_ID STREQUAL "GNU") + add_compile_options("-Wno-unknown-pragmas") add_compile_options(-fno-aggressive-loop-optimizations) if (DBG) add_compile_options("$<$:-Wold-style-declaration>")