openframeworks / openframeworks/openFrameworks

ANDROID_COMPILER_OPTIMIZATION Settings seems to have no affect

Open
#2,074 9 comments 0 reactions 1 assignee View on GitHub

@bakercp is already working on this.

Since Jun 7, 2013.

addon android bug section-internals
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

When changing the ANDROID_COMPILER_OPTIMIZATION in config.make for Android to -Os, -O2, -O3 the apk sizes are always the same. So, it's assumed that this setting is having no affect.

Expected result: apk file size should be different in each optimization setting and the app should probably run faster in -O2 and -O3.

Actual result: No difference in size or speed.

How can we set the optimization level for an app?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.