]> Savannah Git Hosting - gnulib.git/commit
manywarnings: add -fno-common
authorJim Meyering <meyering@fb.com>
Fri, 2 Sep 2016 16:16:16 +0000 (09:16 -0700)
committerJim Meyering <meyering@fb.com>
Fri, 2 Sep 2016 17:25:16 +0000 (10:25 -0700)
commitbf8e658ffadb95d444f56d222d04c9af955af765
treefed402d2bf2f816a99a5cae76d9980018eb56b99
parentcffe9acc622fe5aa274c5c78ea860c9c17f8664c
manywarnings: add -fno-common

* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add -fno-common
to the list.  Quoting the manual, "Compiling with -fno-common is
useful on targets for which it provides better performance, or if
you wish to verify that the program will work on other systems that
always treat uninitialized variable declarations this way [putting
it in the data section]."  If diffutils had been using this sooner,
it would have prevented this duplicate declaration issue:
http://git.sv.gnu.org/cgit/diffutils.git/commit/?id=v3.4-10-gc2dc91f
ChangeLog
m4/manywarnings.m4