]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
userland build: replace -fno-common with ${CFCOMMONFLAG}
authorkevans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 14:01:07 +0000 (14:01 +0000)
committerkevans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 14:01:07 +0000 (14:01 +0000)
commita0b266c31cad0a00537f36ceb08f64071c42a469
tree8b19c64c6f005b76a2b61aec20a38d8c6753323a
parent1fce59f215fc1fc14cacaa185adc2f2c5d71dee8
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