From ad5185ce17e60d2c0a777e0b76b991708d28b9f2 Mon Sep 17 00:00:00 2001
From: Jonathan Liu <net147@gmail.com>
Date: Sat, 25 Oct 2014 15:24:53 +1100
Subject: [PATCH] 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>
---
 src/core/gyp_run.pro | 1 +
 1 file changed, 1 insertion(+)

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\""
         }
 
-- 
GitLab