mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
build: avoid new "make distcheck" failure with gcc 4.5.0 20090517
* dist-check.mk (warn_cflags): Add -Wno-enum-compare.
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
# Most of this is probably too coreutils-centric to be useful to other packages.
|
||||
|
||||
warn_cflags = -Dlint -O -Werror -Wall -Wformat -Wshadow -Wpointer-arith
|
||||
|
||||
# anonymous 'enum's are too useful to forbid. Without this, we'd get:
|
||||
# utimecmp.c:193: error: comparison between 'enum <anonymous>' and \
|
||||
# 'enum <anonymous>' when using gcc-4.5.0-20090517.
|
||||
warn_cflags += -Wno-enum-compare
|
||||
|
||||
bin=bin-$$$$
|
||||
|
||||
write_loser = printf '\#!%s\necho $$0: bad path 1>&2; exit 1\n' '$(SHELL)'
|
||||
|
||||
Reference in New Issue
Block a user