From 7697771d8f1df3576c73153f392285bb8973c117 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 7 May 2013 09:50:22 +0200 Subject: 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 --- text-utils/Makemodule.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text-utils') 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 -- cgit v1.2.3-55-g7522