summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-09-03 15:08:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-03 15:08:24 +0200
commit4deace34cfcc5476b71a9cdc05828f5a48d1cd74 (patch)
tree21f4552335f7ec4d50d362a26910f2ca0d35011f
parente80384786d7b7f895c97f2447d4b91af8eb5f0f4 (diff)
fix static builds with gcc 10.x
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index f270b7bee..55e88d462 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -288,7 +288,7 @@ OPTIMIZATION += $(CFLAG_-fstrict-aliasing)
# Why -funsigned-char: I hunted a bug related to incorrect
# sign extension of 'char' type for 10 hours straight. Not fun.
-CPU_CFLAGS-y := -funsigned-char -fno-builtin
+CPU_CFLAGS-y := -funsigned-char -fno-builtin -fcommon
$(eval $(call check-gcc-var,-fno-asm))
CPU_CFLAGS-y += $(CFLAG_-fno-asm)