Skip to content

Android: default to RelWithDebInfo

hhb requested to merge (removed):android-build-type into master

Current behavior in android.toolchain.cmake:

  1. -Oz if thumb else -O2 (link)
  2. Always -g. (link)

The thumb -Oz is mostly a historical setting that we can ignore here. Other than that it is basically RelWithDebInfo.

So the question is: does cmake also want to default to RelWithDebInfo? I guess it may break someone's workflow. But it makes the behavior more consistent between the two...

Merge request reports