We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc5260 commit 3265f2dCopy full SHA for 3265f2d
1 file changed
cmake/DaemonFlags.cmake
@@ -231,6 +231,17 @@ else()
231
endif()
232
233
234
+ if (NACL AND USE_NACL_SAIGO AND SAIGO_ARCH STREQUAL "arm")
235
+ # This should be set for every build type because build type flags
236
+ # are set after the other custom flags and then have the last word.
237
+ # DEBUG should already use -O0 anyway.
238
+ # See: https://github.com/Unvanquished/Unvanquished/issues/3297
239
+ set_c_cxx_flag("-O0" DEBUG)
240
+ set_c_cxx_flag("-O0" RELEASE)
241
+ set_c_cxx_flag("-O0" RELWITHDEBINFO)
242
+ set_c_cxx_flag("-O0" MINSIZEREL)
243
+ endif()
244
+
245
# Extra debug flags.
246
set_c_cxx_flag("-g3" RELWITHDEBINFO)
247
set_c_cxx_flag("-g3" DEBUG)
0 commit comments