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 d57ed06..a1d017d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xstdcmap
-AM_CFLAGS = $(XSTDCMAP_CFLAGS) -D_BSD_SOURCE
+AM_CFLAGS = $(XSTDCMAP_CFLAGS) -D_BSD_SOURCE $(CWARNFLAGS)
xstdcmap_LDADD = $(XSTDCMAP_LIBS)
xstdcmap_SOURCES = \
diff --git a/configure.ac b/configure.ac
index fbfdfc6..69ed260 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(XSTDCMAP, xmu x11)
-XSTDCMAP_CFLAGS="$CWARNFLAGS $XSTDCMAP_CFLAGS"
AC_SUBST(XSTDCMAP_CFLAGS)
AC_SUBST(XSTDCMAP_LIBS)