Skip to content

Commit

Permalink
Fix the 32-bit Windows host tag.
Browse files Browse the repository at this point in the history
Bug: #45
Change-Id: I4d7f40d6f5609b0067cd89d2b2b75f1195c360bf
(cherry picked from commit 3f3b154)
  • Loading branch information
DanAlbert committed Mar 25, 2016
1 parent 77fa3c9 commit 77851b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/core/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,15 @@ ifeq ($(HOST_TAG),windows-x86)
$(call __ndk_error,Aborting.)
endif
endif

# special-case the host-tag
HOST_TAG := windows

# For 32-bit systems, HOST_TAG == HOST_TAG64. Make sure that remains true
# here.
ifeq ($(HOST_TAG64),x86)
HOST_TAG64 = $(HOST_TAG)
endif
endif

$(call ndk_log,HOST_TAG set to $(HOST_TAG))
Expand Down

0 comments on commit 77851b7

Please sign in to comment.