From 8140554d54cdd6e56c8f55d1c7e00cce315aea73 Mon Sep 17 00:00:00 2001 From: user1-github <56021366+user1-github@users.noreply.github.com> Date: Mon, 1 Dec 2025 00:01:50 +0200 Subject: [PATCH 1/2] Remove conditional from primary compile flags --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index d5b2e9626..0826298bb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ APPCLIENT = $(APPNAME) APPSERVER = $(APPNAME)_server #CXXFLAGS = -ggdb3 -CXXFLAGS ?= -O3 -fomit-frame-pointer -ffast-math -fno-finite-math-only +CXXFLAGS = -O3 -fomit-frame-pointer -ffast-math -fno-finite-math-only override CXXFLAGS += -Wall -fsigned-char -fno-exceptions -fno-rtti -Wno-invalid-offsetof -std=c++17 PLATFORM = $(shell $(CC) -dumpmachine) RMFLAGS = -fv From 30849f744b70846d9aef7bfa540c4c4bc82b6115 Mon Sep 17 00:00:00 2001 From: user1-github <56021366+user1-github@users.noreply.github.com> Date: Mon, 1 Dec 2025 00:04:46 +0200 Subject: [PATCH 2/2] Remove conditional from primary enet compile flags --- src/enet/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enet/Makefile b/src/enet/Makefile index aaca02aec..87913d7a2 100644 --- a/src/enet/Makefile +++ b/src/enet/Makefile @@ -1,4 +1,4 @@ -CFLAGS?=-O3 -fomit-frame-pointer +CFLAGS=-O3 -fomit-frame-pointer override CFLAGS:= $(CFLAGS) -Iinclude $(shell ./check_cflags.sh $(CC) $(CFLAGS)) OBJS= \