From 8353549e026fa6f6c77368d92f03cc97bf08a746 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 27 Dec 2014 09:32:45 +0000 Subject: script: replace strftime() workaround with CFLAGS = -Wno-format-y2k Nowadays, gcc(1) provides the -Wno-format-y2k option to prevent the warning, so that the above workaround is no longer required. Reference: http://man7.org/linux/man-pages/man3/strftime.3.html Signed-off-by: Sami Kerola --- term-utils/Makemodule.am | 1 + 1 file changed, 1 insertion(+) (limited to 'term-utils/Makemodule.am') diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am index de62098aa..1b735b9bc 100644 --- a/term-utils/Makemodule.am +++ b/term-utils/Makemodule.am @@ -2,6 +2,7 @@ if BUILD_SCRIPT usrbin_exec_PROGRAMS += script dist_man_MANS += term-utils/script.1 script_SOURCES = term-utils/script.c +script_CFLAGS = $(AM_CFLAGS) -Wno-format-y2k script_LDADD = $(LDADD) if HAVE_UTIL script_LDADD += -lutil -- cgit v1.2.3-55-g7522