git: kernel: Prepare for -fno-common becoming default in future compilers.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jul 19 01:41:44 PDT 2020


commit 08c0236da00761a6c47e14b20efb29fd2efb7a0d
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jul 19 10:41:29 2020 +0200

    kernel: Prepare for -fno-common becoming default in future compilers.
    
    Add an explicit -fcommon to the compilation of genassym.c and
    vmx_genassym.c, just like we did for asmcontext.c in libc already.
    
    genassym.o and vmx_genassym.o are used for the generation of the
    respective *.h files (using genassym.sh) which fails without
    -fcommon. They are not themselves linked into the kernel.
    
    See dadd01b6c5da8ff83652d6c3be89b16f373af69a.

Summary of changes:
 sys/conf/kern.post.mk        | 4 ++--
 sys/conf/kmod.mk             | 4 ++--
 sys/platform/pc64/conf/files | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08c0236da00761a6c47e14b20efb29fd2efb7a0d


-- 
DragonFly BSD source repository


More information about the Commits mailing list