[Interest] How to change compiler flags of Android compilations?

Nuno Santos nunosantos at imaginando.pt
Fri Mar 18 13:03:43 CET 2016


Hi,

I was trying to set new compiler flags for Android compilation but they don’t seem to be reflect during the compilation.

I added:

QMAKE_CXXFLAGS_RELEASE += -mfloat-abi=softfp -mfpu=neon -O3 -DHAVE_NEON=1

But during the compilation there was this:

arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -fno-builtin-memmove -std=c++11 -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIC

What am I missing?

Thanks,

Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160318/11f3cd00/attachment.html>


More information about the Interest mailing list