mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[SDK] Disable the unknown-pragma for GCC
This commit is contained in:
parent
e09679f2d1
commit
50647e58e4
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ add_compile_options(-mlong-double-64)
|
|||
add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:CXX>>:-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("$<$<COMPILE_LANGUAGE:C>:-Wold-style-declaration>")
|
||||
|
|
Loading…
Reference in a new issue