summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 45429a3..8c5e94f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xfontsel
-AM_CFLAGS = $(XFONTSEL_CFLAGS)
+AM_CFLAGS = $(XFONTSEL_CFLAGS) $(CWARNFLAGS)
xfontsel_LDADD = $(XFONTSEL_LIBS)
xfontsel_SOURCES = \
diff --git a/configure.ac b/configure.ac
index dc8cf8a..7db4eb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,6 @@ AC_PROG_INSTALL
PKG_CHECK_MODULES(XFONTSEL, xaw7)
-XFONTSEL_CFLAGS="$CWARNFLAGS $XFONTSEL_CFLAGS"
AC_SUBST(XFONTSEL_CFLAGS)
AC_SUBST(XFONTSEL_LIBS)