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 78f68b0..b3e1cd3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,7 @@
bin_PROGRAMS = xlogo
-AM_CFLAGS = $(XLOGO_CFLAGS)
+AM_CFLAGS = $(XLOGO_CFLAGS) $(CWARNFLAGS)
xlogo_LDADD = $(XLOGO_LIBS)
xlogo_SOURCES = \
diff --git a/configure.ac b/configure.ac
index 9d9f7e4..f108a16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,6 @@ PKG_CHECK_MODULES(XEXT, xext)
XLOGO_CFLAGS="$XLOGO_CFLAGS $XEXT_CFLAGS"
XLOGO_LIBS="$XLOGO_LIBS $XEXT_LIBS"
-XLOGO_CFLAGS="$CWARNFLAGS $XLOGO_CFLAGS"
AC_SUBST(XLOGO_CFLAGS)
AC_SUBST(XLOGO_LIBS)