summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/script/script.pro b/src/script/script.pro
index 7891513..9704e68 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -92,3 +92,14 @@ integrity {
# WebKit doesn't compile in C++0x mode
*-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
CONFIG -= c++11
+
+CONFIG(android) {
+ !CONFIG(x86): DEFINES += arm
+ contains(QMAKE_CFLAGS, -mfpu=vfp): DEFINES += HAVE_VFP
+ !CONFIG(armeabi-v7a):!CONFIG(x86) {
+ QMAKE_CFLAGS_RELEASE -= -mthumb
+ QMAKE_CFLAGS_RELEASE += -marm
+ QMAKE_CXXFLAGS_RELEASE -= -mthumb
+ QMAKE_CXXFLAGS_RELEASE += -marm
+ }
+} \ No newline at end of file