libc/asmcontext: Fix building with -fno-common.
authorSascha Wildner <saw@online.de>
Wed, 15 Jul 2020 09:24:34 +0000 (11:24 +0200)
committerSascha Wildner <saw@online.de>
Wed, 15 Jul 2020 09:24:46 +0000 (11:24 +0200)
commitdadd01b6c5da8ff83652d6c3be89b16f373af69a
tree1f878dfbbd3b748e341b9725513946b021cfd89a
parent7c47e3df7ea7245cae581c4798828b020ae4af9f
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.
lib/libc/x86_64/sys/Makefile.inc