t9c: added explicit -fcommon to gcc defaults. - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c1c1b5267fd5e14be531a4b22ed0124b35d427cb
 (DIR) parent 4650064aa757c217fa72f8819a2cf67c689bcdef
 (HTM) 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:
         M bin/9c                              |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/bin/9c b/bin/9c
       t@@ -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