Detect uname -m == i686 as a 32-bit host

Change-Id: I0350629ce6ea7a5f0224489bafc98bc190e70932
Test: UNAME from https://groups.google.com/d/msg/android-building/nGQna2xuW5s/eEcXSo9ZBgAJ
This commit is contained in:
Dan Willemsen
2016-06-29 12:26:53 -07:00
parent 1767d3f918
commit 88225fdfbe

View File

@@ -78,7 +78,7 @@ ifneq (,$(findstring x86_64,$(UNAME)))
HOST_2ND_ARCH := x86
HOST_IS_64_BIT := true
else
ifneq (,$(findstring x86,$(UNAME)))
ifneq (,$(findstring i686,$(UNAME))$(findstring x86,$(UNAME)))
$(error Building on a 32-bit x86 host is not supported: $(UNAME)!)
endif
endif