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 062aefd..5781039 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xload
-AM_CFLAGS = $(XLOAD_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XLOAD_CFLAGS)
xload_LDADD = $(XLOAD_LIBS)
xload_SOURCES = \
diff --git a/configure.ac b/configure.ac
index 955676b..77482c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,6 @@ AC_CHECK_LIB([kstat], [kstat_open])
# Checks for pkg-config packages
PKG_CHECK_MODULES(XLOAD, xaw7)
-XLOAD_CFLAGS="$CWARNFLAGS $XLOAD_CFLAGS"
AC_SUBST(XLOAD_CFLAGS)
AC_SUBST(XLOAD_LIBS)