From db98a96b870326b1096d81045101eb4a3c66d398 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 16 Apr 2025 15:03:04 +0200 Subject: [PATCH] execute program in 32 bit mode, as we don't need that wide of an adress space --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 391972c..72abf0a 100644 --- a/makefile +++ b/makefile @@ -12,7 +12,7 @@ NAME := $(shell basename $(PWD)) CC := clang STD := c17 LANG = c -CFLAGS := $(shell pkg-config --cflags sdl2 SDL2_ttf) -Wall -Wextra -Wpedantic -Wno-pointer-arith +CFLAGS := $(shell pkg-config --cflags sdl2 SDL2_ttf) -m32 -Wall -Wextra -Wpedantic -Wno-pointer-arith LDFLAGS := $(shell pkg-config --libs sdl2 SDL2_ttf) -lm DEBUG ?= 0