We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fdd29 commit 4f665b2Copy full SHA for 4f665b2
cmake/DaemonFlags.cmake
@@ -363,14 +363,9 @@ else()
363
endif()
364
365
if (NACL AND USE_NACL_SAIGO AND SAIGO_ARCH STREQUAL "arm")
366
- # This should be set for every build type because build type flags
367
- # are set after the other custom flags and then have the last word.
368
- # DEBUG should already use -O0 anyway.
+ # Saigo produces broken arm builds when optimizing them.
369
# See: https://github.com/Unvanquished/Unvanquished/issues/3297
370
- set_c_cxx_flag("-O0" DEBUG)
371
- set_c_cxx_flag("-O0" RELEASE)
372
- set_c_cxx_flag("-O0" RELWITHDEBINFO)
373
- set_c_cxx_flag("-O0" MINSIZEREL)
+ set_c_cxx_flag("-Xclang -disable-llvm-passes")
374
375
376
# Extra debug flags.
0 commit comments