diff options
author | Sami Kerola | 2014-12-27 10:32:45 +0100 |
---|---|---|
committer | Sami Kerola | 2015-06-08 22:53:36 +0200 |
commit | 8353549e026fa6f6c77368d92f03cc97bf08a746 (patch) | |
tree | 9bb76a67b54eae1bd09bfffc556a3b6b4df23512 /term-utils/Makemodule.am | |
parent | script: move do_io() content to small functions (diff) | |
download | kernel-qcow2-util-linux-8353549e026fa6f6c77368d92f03cc97bf08a746.tar.gz kernel-qcow2-util-linux-8353549e026fa6f6c77368d92f03cc97bf08a746.tar.xz kernel-qcow2-util-linux-8353549e026fa6f6c77368d92f03cc97bf08a746.zip |
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 <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r-- | term-utils/Makemodule.am | 1 |
1 files changed, 1 insertions, 0 deletions
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 |