• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂4deace34cfcc5476b71a9cdc05828f5a48d1cd74 (tree)
時間2020-09-03 22:08:24
作者Waldemar Brodkorb <wbx@open...>
CommiterWaldemar Brodkorb

Log Message

fix static builds with gcc 10.x

Change Summary

差異

--- a/Rules.mak
+++ b/Rules.mak
@@ -288,7 +288,7 @@ OPTIMIZATION += $(CFLAG_-fstrict-aliasing)
288288
289289 # Why -funsigned-char: I hunted a bug related to incorrect
290290 # 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
292292
293293 $(eval $(call check-gcc-var,-fno-asm))
294294 CPU_CFLAGS-y += $(CFLAG_-fno-asm)