diff --git a/arch/x86/src/common/Toolchain.defs b/arch/x86/src/common/Toolchain.defs index 360271b71bf..f24da4a50c1 100644 --- a/arch/x86/src/common/Toolchain.defs +++ b/arch/x86/src/common/Toolchain.defs @@ -32,6 +32,11 @@ ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-stack-protector ARCHPICFLAGS = -fpic ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef +# LLVM target definitions +LLVM_ARCHTYPE := x86 +LLVM_CPUTYPE := i486 +LLVM_ABITYPE := sysv + # Check if building a 32-bit target with a 64-bit toolchain ifeq ($(CONFIG_ARCH_X86_M32),y)