9c: added explicit -fcommon to gcc defaults.

Version 10 of gcc enforces -fno-common which breaks a lot of things.

This fix reverts to the pre-10 behaviour. The real fix is to clean up
stray redefinitions which should be declarations.
This commit is contained in:
sean 2020-04-29 11:21:35 +01:00 committed by David du Colombier
parent 4650064aa7
commit c1c1b5267f

1
bin/9c
View file

@ -20,6 +20,7 @@ usegcc()
-Wno-format-truncation \
-fno-omit-frame-pointer \
-fsigned-char \
-fcommon \
"
# want to put -fno-optimize-sibling-calls here but
# that option only works with gcc3+ it seems