From 0c0a92fb9a2d30d90b2ba1e2b06b696081b2c3fd Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Sat, 20 Jan 2024 23:53:04 +0100 Subject: [PATCH] SporeModManager: add -fno-exceptions to OPTFLAGS in Makefile --- SporeModManager/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SporeModManager/Makefile b/SporeModManager/Makefile index 2f68970..8350674 100644 --- a/SporeModManager/Makefile +++ b/SporeModManager/Makefile @@ -16,14 +16,14 @@ MINGW_WINDRES ?= i686-w64-mingw32-windres ifeq ($(MINGW), 0) LDFLAGS := -flto -s -OPTFLAGS := -Os -flto -Wall -Wextra -Wpedantic +OPTFLAGS := -Os -fno-exceptions -flto -Wall -Wextra -Wpedantic OBJ := o EXE_EXT := else # mingw doesn't like LTO # and we need to statically link LDFLAGS := -s -municode -static -OPTFLAGS := -Os -Wall -Wextra -Wpedantic +OPTFLAGS := -Os -fno-exceptions -Wall -Wextra -Wpedantic OBJ := obj EXE_EXT := .exe endif