Explorar o código

fix static builds with gcc 10.x

Waldemar Brodkorb %!s(int64=6) %!d(string=hai) anos
pai
achega
4deace34cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Rules.mak

+ 1 - 1
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)