diff options
author | Brian Carlstrom <bdc@google.com> | 2015-03-20 11:39:00 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2015-03-20 12:50:42 -0700 |
commit | 2cd8a74b2d380e9c01efb922b57c9293738adbda (patch) | |
tree | e294a3b52dbb94a6e901a5e8b3991f0bdfe013df /core/envsetup.mk | |
parent | ad22a8f2a71209d0fec3c49bdd688678a3412540 (diff) | |
download | build-2cd8a74b2d380e9c01efb922b57c9293738adbda.zip build-2cd8a74b2d380e9c01efb922b57c9293738adbda.tar.gz build-2cd8a74b2d380e9c01efb922b57c9293738adbda.tar.bz2 |
Clearly explain that 32-bit x86 is not supported
Change-Id: I7f352fae8fa3742c61dc74e20aacd32254451bce
Diffstat (limited to 'core/envsetup.mk')
-rw-r--r-- | core/envsetup.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk index 43774ea..75391e1 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) |