diff options
author | Karel Zak | 2013-05-07 09:50:22 +0200 |
---|---|---|
committer | Karel Zak | 2013-05-07 09:50:22 +0200 |
commit | 7697771d8f1df3576c73153f392285bb8973c117 (patch) | |
tree | 6cfa0400aba174db83b621e28a44c4832588b826 /text-utils/Makemodule.am | |
parent | lib/colors: add colormode_or_err() (diff) | |
download | kernel-qcow2-util-linux-7697771d8f1df3576c73153f392285bb8973c117.tar.gz kernel-qcow2-util-linux-7697771d8f1df3576c73153f392285bb8973c117.tar.xz kernel-qcow2-util-linux-7697771d8f1df3576c73153f392285bb8973c117.zip |
build-sys: use -Wno-clobbered for some BSD crap
* extend UL_WARN_ADD() for accept non-default CFLAGS variable
* add BSD_WARN_CFLAGS with -Wno-clobbered
* use all this for pg(1) and more(1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/Makemodule.am')
-rw-r--r-- | text-utils/Makemodule.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/text-utils/Makemodule.am b/text-utils/Makemodule.am index 6ddec56b3..d3ebfdc5b 100644 --- a/text-utils/Makemodule.am +++ b/text-utils/Makemodule.am @@ -53,6 +53,7 @@ if BUILD_PG usrbin_exec_PROGRAMS += pg dist_man_MANS += text-utils/pg.1 pg_SOURCES = text-utils/pg.c +pg_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) pg_LDADD = $(LDADD) libcommon.la @NCURSES_LIBS@ if HAVE_TINFO pg_LDADD += -ltinfo @@ -77,6 +78,7 @@ if BUILD_MORE bin_PROGRAMS += more dist_man_MANS += text-utils/more.1 more_SOURCES = text-utils/more.c +more_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) more_LDADD = $(LDADD) if HAVE_TINFO more_LDADD += -ltinfo |