summaryrefslogtreecommitdiffstats
path: root/src/core/gyp_run.pro
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2014-10-25 15:24:53 +1100
committerJonathan Liu <net147@gmail.com>2014-10-27 12:48:35 +0100
commitad5185ce17e60d2c0a777e0b76b991708d28b9f2 (patch)
tree7b6f4039937fe9cf9ede784dcde7f4f0191f7cc5 /src/core/gyp_run.pro
parentcaab672006f74c941d5d1b6479146f92dbce1340 (diff)
Display error if building for ARM architecture older than ARMv6
Chromium is only supported on ARMv6 and ARMv7 for ARM architecture. Change-Id: I0493c9ba2baf4a537f759286622056093c0d4a25 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/gyp_run.pro')
-rw-r--r--src/core/gyp_run.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 026e3a2f5..137b600b9 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -61,6 +61,7 @@ cross_compile {
!isEmpty(MARMV) {
MARMV = $$split(MARMV,)
MARMV = $$member(MARMV, 0)
+ lessThan(MARMV, 6): error("$$MARCH architecture is not supported")
GYP_ARGS += "-D arm_version=\"$$MARMV\""
}