Skip to content

Improve/harmonize mobile builds#8949

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
RandomShaper:improve-mobile-builds
Jun 8, 2017
Merged

Improve/harmonize mobile builds#8949
akien-mga merged 1 commit into
godotengine:masterfrom
RandomShaper:improve-mobile-builds

Conversation

@RandomShaper

@RandomShaper RandomShaper commented May 27, 2017

Copy link
Copy Markdown
Member

Android:

  • Inexistent DEBUG_MEMORY_ALLOC replaced by DEBUG_MEMORY_ENABLED.

iOS:

  • Unconditional -fblocks. Formerly it was being added only if GameCenter enabled.
  • Fix failing build if GameCenter disabled by adding GameController explicitly.
  • Make release and release_debug be the same, except for DEBUG_ENABLED (for Android we are doing the same), which is: -O2 -ftree-vectorize -fomit-frame-pointer -ffast-math -funsafe-math-optimizations.
  • Remove some redundant -isysroot $IPHONESDK.
  • Drop the profile target.
  • Enable link-time optimization (slow, but hopefully gives a faster engine).

@punto-, could you have a look?:

  • I know you removed -ffast-math because of a possible compìler bug. Do you think that still applies?
  • Do you know about anyone using the profile target?
  • And any other possible wrong thing you find.

@RandomShaper RandomShaper force-pushed the improve-mobile-builds branch from 8988954 to 854b3cc Compare May 27, 2017 21:27
@akien-mga akien-mga merged commit 71c7dca into godotengine:master Jun 8, 2017
@RandomShaper RandomShaper deleted the improve-mobile-builds branch June 8, 2017 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants