From 49fc472b296013eb643bdabbcb3d4ff279388d8b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 22 Oct 2008 14:38:22 -0700 Subject: [PATCH] Consistently use AM_CPPFLAGS, not AM_CFLAGS, for -D and -I options. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9d2df987..83e73de3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,10 +21,11 @@ endif AM_CFLAGS = -Wstrict-prototypes rundir = $(localstatedir)/run -AM_CFLAGS += -DRUNDIR=\"$(rundir)\" +AM_CPPFLAGS += -DRUNDIR=\"$(rundir)\" if NDEBUG -AM_CFLAGS += -DNDEBUG -fomit-frame-pointer +AM_CPPFLAGS += -DNDEBUG +AM_CFLAGS += -fomit-frame-pointer else AM_LDFLAGS = -export-dynamic endif -- 2.30.2