force set MACHINE from toolchain dumpmachine

Looks like leaving it out as optional variable is more like to cause issue...
ref: https://github.com/koreader/koreader/issues/1832#issuecomment-185870105
pull/1836/head
Qingping Hou 8 years ago
parent 5bd79111da
commit 70266c3b35

@ -16,7 +16,7 @@ else ifeq ($(TARGET), pocketbook)
PATH:=$(CURDIR)/$(KOR_BASE)/$(POCKETBOOK_TOOLCHAIN)/bin:$(PATH)
endif
MACHINE?=$(shell PATH=$(PATH) $(CC) -dumpmachine 2>/dev/null)
MACHINE=$(shell PATH=$(PATH) $(CC) -dumpmachine 2>/dev/null)
ifdef TARGET
DIST:=$(TARGET)

Loading…
Cancel
Save