aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsean <phonologus@gmail.com>2020-04-29 11:21:35 +0100
committerDavid du Colombier <0intro@gmail.com>2020-04-30 20:51:47 +0200
commitc1c1b5267fd5e14be531a4b22ed0124b35d427cb (patch)
tree081d0ea820ec46b0e93611ca97eb82087c79ed67 /bin
parent4650064aa757c217fa72f8819a2cf67c689bcdef (diff)
downloadplan9port-c1c1b5267fd5e14be531a4b22ed0124b35d427cb.tar.gz
plan9port-c1c1b5267fd5e14be531a4b22ed0124b35d427cb.tar.bz2
plan9port-c1c1b5267fd5e14be531a4b22ed0124b35d427cb.zip
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/9c b/bin/9c
index b07d0149..0f836d24 100755
--- a/bin/9c
+++ b/bin/9c
@@ -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