]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
userland build: replace -fno-common with ${CFCOMMONFLAG}
authorKyle Evans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 14:01:07 +0000 (14:01 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 14:01:07 +0000 (14:01 +0000)
commit879ce458f4076949632380ea11eb304c521d60c4
tree8b19c64c6f005b76a2b61aec20a38d8c6753323a
parent73129d4797117a0cf410f4d55712d61df2a52bca
userland build: replace -fno-common with ${CFCOMMONFLAG}

This change allows any downstream or otherwise consumer to easily override
the new -fno-common default on a temporary basis without having to hack into
src.sys.mk, and also makes it a bit easier to search for these specific
cases where -fno-common must be overridden with -fcommon or else the build
will fail.

The gdb build, the only program requiring -fcommon on head/, is switched
over as an example usage. It will need it on all branches, so this does not
harm future mergability.

MFC after: 3 days
gnu/usr.bin/gdb/Makefile.inc
share/mk/src.sys.mk