From aa6d3abffab5776237dafa023fe5e43715ab68fa Mon Sep 17 00:00:00 2001 From: zvecr Date: Wed, 18 Jun 2025 14:11:25 +0100 Subject: [PATCH] Swap from fcommon to fno-common --- builddefs/common_rules.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk index d6f91b10e4f..9df292df7c6 100644 --- a/builddefs/common_rules.mk +++ b/builddefs/common_rules.mk @@ -77,9 +77,8 @@ ifneq ($(strip $(ALLOW_WARNINGS)), yes) endif CFLAGS += $(CSTANDARD) -# This fixes lots of keyboards linking errors but SHOULDN'T BE A FINAL SOLUTION -# Fixing of multiple variable definitions must be made. -CFLAGS += -fcommon +# While default on newer compilers, force consistent behaviour +CFLAGS += -fno-common #---------------- C++ Compiler Options ----------------