summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-04-17 21:59:25 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-04-17 22:01:36 -0700
commit0edb2392ede59cadd75915873b52baa188bfa273 (patch)
treec1d881742aee11304101e9b67bb811f027643e68
parent146dc2f4ac232bb9d63225c8e72b214dc3120ea6 (diff)
Fix $CWARNFLAGS addition
Original addition to configure.ac had typo (missing N) - moving to Makefile.am allows easier override at build time Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 45fd7d7..934f197 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,6 @@ AC_CHECK_MEMBER([struct pci_io.pi_sel.pc_domain],
#include <sys/pciio.h>
])
-PCIACCESS_CFLAGS="$CWARFLAGS $PCIACCESS_CFLAGS"
AC_SUBST(PCIACCESS_CFLAGS)
AC_SUBST(PCIACCESS_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 3e50406..14f2e48 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,7 +21,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
-AM_CFLAGS = @PCIACCESS_CFLAGS@
+AM_CFLAGS = $(CWARNFLAGS) @PCIACCESS_CFLAGS@
lib_LTLIBRARIES = libpciaccess.la