From 2cd8a74b2d380e9c01efb922b57c9293738adbda Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Fri, 20 Mar 2015 11:39:00 -0700 Subject: [PATCH] Clearly explain that 32-bit x86 is not supported Change-Id: I7f352fae8fa3742c61dc74e20aacd32254451bce --- core/envsetup.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/envsetup.mk b/core/envsetup.mk index 43774eac2..75391e1d5 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -72,6 +72,10 @@ ifneq (,$(findstring x86_64,$(UNAME))) HOST_ARCH := x86_64 HOST_2ND_ARCH := x86 HOST_IS_64_BIT := true +else +ifneq (,$(findstring x86,$(UNAME))) +$(error Building on a 32-bit x86 host is not supported: $(UNAME)!) +endif endif BUILD_ARCH := $(HOST_ARCH)