git: libc/asmcontext: Fix building with -fno-common.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jul 15 02:24:56 PDT 2020


commit dadd01b6c5da8ff83652d6c3be89b16f373af69a
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jul 15 11:24:34 2020 +0200

    libc/asmcontext: Fix building with -fno-common.
    
    asmcontext.h generation using genassym.sh isn't working properly with
    -fno-common, so for now just specify -fcommon at the end of the flags.
    
    Right now this is only needed for testing -fno-common because it is
    not GCC's default yet.
    
    This concludes the work to make buildworld succeed with -fno-common.
    
    Thanks to Krzysztof Piecuch for helping with it.

Summary of changes:
 lib/libc/x86_64/sys/Makefile.inc | 4 ++++
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dadd01b6c5da8ff83652d6c3be89b16f373af69a


-- 
DragonFly BSD source repository


More information about the Commits mailing list