defs-dist.mk, defs.mk, make.mk: Some more fixes to build system

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-01-26 14:43:53 +00:00
commit 118c01e1ba
3 changed files with 6 additions and 3 deletions

View file

@ -122,12 +122,15 @@ TARGET ?= Linux
ifndef ARCH
ifeq ($(shell uname -m),armv7l)
ARCH = armv7hl
SYSTEM_LIBDIR = /usr/lib
else
ifeq ($(shell uname -m),x86_64)
ARCH = x86_64
SYSTEM_LIBDIR = /usr/lib64
else
ARCH_32 = i586
ARCH = $(ARCH_32)
SYSTEM_LIBDIR = /usr/lib
endif
endif
endif