From 03845e4abfb3b3255c011595f5fcf846580a43cb Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Mon, 15 Dec 2025 14:17:01 -0600 Subject: [PATCH] fix linux x86_32 build --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 202a564..a06dc25 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ endif ifdef I386 ARCH='-m32' +AFLAGS='--32' endif ifeq ($(shell uname),Linux) @@ -129,7 +130,7 @@ clean: rm -f main %.o: %.s - $(AS) $< -o $@ $(TARGET) + $(AS) $(AFLAGS) $< -o $@ $(TARGET) %.o: %.cpp $(CXX) $(CXXSTD) $(ARCH) $(CFLAGS) $(OPT) $(DEBUG) $(DEPFLAGS) -MF ${<}.d -c $< -o $@ $(TARGET)