summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-01-15 21:20:50 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-01-15 21:20:50 -0800
commit67b8eba82dba74f12f1ee4fac6f5ee8968b1f14c (patch)
tree575395f28f4f0502757392fce4c939bd49308cce
parenta6040d867412b88e0586665079b96c0725b0a42c (diff)
Move CWARNFLAGS addition from configure.ac to Makefile.am
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-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)