From 0cca6fe74a22c6268cf9dddc94e24c4f0c8412cd Mon Sep 17 00:00:00 2001 From: Cydox Date: Sat, 10 Jan 2015 23:32:40 +0100 Subject: [PATCH] build: Warn when using snapshot on Armv6 Building io.js on armv6 with snapshot enabled does not work due to a bug in v8, so it now warns when building on armv6 and having snapshot enabled. PR-URL: https://github.com/iojs/io.js/pull/282 Reviewed-By: Rod Vagg --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index c0517c3678a..289b25c108d 100755 --- a/configure +++ b/configure @@ -944,4 +944,8 @@ else: gyp_args += args +#print warning when snapshot is enabled and building on armv6 +if (is_arch_armv6()) and (not options.without_snapshot): + print '\033[1;33mWarning!! When building on ARMv6 use --without-snapshot\033[1;m' + sys.exit(subprocess.call(gyp_args))