From b26071d3787edf24084bbf8fb810894e7de31f8e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 24 Oct 2018 17:27:10 +0100 Subject: [PATCH] Config: Set IS_32BIT when running on 32 bit Signed-off-by: Michael Tremer --- lfs/Config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lfs/Config b/lfs/Config index 516fb1cabb..76f279da96 100644 --- a/lfs/Config +++ b/lfs/Config @@ -37,10 +37,22 @@ ifeq "$(BUILD_ARCH)" "aarch64" IS_64BIT = 1 endif +ifeq "$(BUILD_ARCH)" "armv7hl" + IS_32BIT = 1 +endif + +ifeq "$(BUILD_ARCH)" "armv5tel" + IS_32BIT = 1 +endif + ifeq "$(BUILD_ARCH)" "x86_64" IS_64BIT = 1 endif +ifeq "$(BUILD_ARCH)" "i586" + IS_32BIT = 1 +endif + ifeq "$(TOOLCHAIN)" "1" PREFIX = $(TOOLS_DIR) else -- 2.39.5