修訂 | 4deace34cfcc5476b71a9cdc05828f5a48d1cd74 (tree) |
---|---|
時間 | 2020-09-03 22:08:24 |
作者 | Waldemar Brodkorb <wbx@open...> |
Commiter | Waldemar Brodkorb |
fix static builds with gcc 10.x
@@ -288,7 +288,7 @@ OPTIMIZATION += $(CFLAG_-fstrict-aliasing) | ||
288 | 288 | |
289 | 289 | # Why -funsigned-char: I hunted a bug related to incorrect |
290 | 290 | # sign extension of 'char' type for 10 hours straight. Not fun. |
291 | -CPU_CFLAGS-y := -funsigned-char -fno-builtin | |
291 | +CPU_CFLAGS-y := -funsigned-char -fno-builtin -fcommon | |
292 | 292 | |
293 | 293 | $(eval $(call check-gcc-var,-fno-asm)) |
294 | 294 | CPU_CFLAGS-y += $(CFLAG_-fno-asm) |