mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-26 15:03:22 +00:00
build: arrange to build with -fno-common, when possible
* configure.ac (WERROR_CFLAGS): Add -fno-common, when possible. This would have prevented the duplicate definition of presume_output_tty that was fixed in v3.4-10-gc2dc91f.
This commit is contained in:
parent
c2dc91f196
commit
24792668f0
@ -109,6 +109,7 @@ if test "$gl_gcc_warnings" = yes; then
|
||||
|
||||
gl_WARN_ADD([-fdiagnostics-show-option])
|
||||
gl_WARN_ADD([-funit-at-a-time])
|
||||
gl_WARN_ADD([-fno-common])
|
||||
|
||||
AC_SUBST([WARN_CFLAGS])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user