From b3ed3e9240ab11b0c9c91ceffcba5ff318219a29 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Wed, 7 Apr 2021 14:52:25 +0200 Subject: [PATCH] [v0.96] Add 32bit support in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e91ba03..7293f40 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_C ifneq ($(OS),Windows_NT) arch := $(shell uname -m) - ifeq ($(arch), x86_64) + ifeq ($(arch), $(filter $(arch), x86_64 i686)) SRC_DIR=src/x86/ SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c HEADERS += $(COMMON_HDR) $(SRC_DIR)cpuid.h $(SRC_DIR)apic.h $(SRC_DIR)cpuid_asm.h $(SRC_DIR)uarch.h