From 90511cdee97d9e343e68fdb07408254156c9170d Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 30 Mar 2024 00:54:00 +0100 Subject: [PATCH] compile with NOASM=1 by default The asm code for the software renderer is very old and unstable which leads to alot of random segfaults when using it, so disable it by default modern GCC is very good at optimizing non asm code anyways, so theres no realy benefit in keeping those anyways --- src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile b/src/Makefile index 4fae86e1..b7267d85 100644 --- a/src/Makefile +++ b/src/Makefile @@ -148,6 +148,9 @@ D_FILES=$(D_DIR)/srb2.srb \ PKG_CONFIG?=pkg-config +NOASM=1 +# The software renderer is very prone due to old asm code, so disable it by default + ifdef WIILINUX LINUX=1 endif