From 76762dcc8e2f746d116d3dac4b81beabbd9ae08d Mon Sep 17 00:00:00 2001 From: Quinn Date: Fri, 18 Apr 2025 18:26:59 +0200 Subject: [PATCH] rename ARCH options to x86, rather than x86_64, since that's more accurate now --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 6a88d94..c18a4bf 100644 --- a/makefile +++ b/makefile @@ -26,15 +26,15 @@ PROF := rel endif ifneq ($(MAKECMDGOALS),clean) -ifeq ($(ARCH),linux-x86_64) +ifeq ($(ARCH),linux-x86) CFLAGS += -target x86_64-pc-linux-gnu LDFLAGS += -target x86_64-pc-linux-gnu -else ifeq ($(ARCH),win-x86_64) +else ifeq ($(ARCH),win-x86) CFLAGS += -target x86_64-pc-windows-gnu LDFLAGS += -target x86_64-pc-windows-gnu -fuse-ld=lld EXT := .exe else -$(error you must set the ARCH environment variable to one of these: 'linux-x86_64' 'win-x86_64') +$(error you must set the ARCH environment variable to one of these: 'linux-x86' 'win-x86') endif endif