[Interest] Compiler optimisation flags on Android
Thiago Macieira
thiago.macieira at intel.com
Tue May 3 19:05:38 CEST 2016
Em terça-feira, 3 de maio de 2016, às 18:00:07 PDT, Nuno Santos escreveu:
> I mean -O2, like the others
You didn't answer why you think that it's important to use -O2 instead of -Os.
The reason why it's using -Os instead of -O2 was probably because the
maintainers of the Android port thought that optimising for size was
important, for some reason, on ARM (see also the use of Thumb). That way,
binaries would be smaller.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list