plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit c1c1b5267fd5e14be531a4b22ed0124b35d427cb
parent 4650064aa757c217fa72f8819a2cf67c689bcdef
Author: sean <phonologus@gmail.com>
Date:   Wed, 29 Apr 2020 11:21:35 +0100

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:
Mbin/9c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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