From: Ben Pfaff Date: Wed, 22 Oct 2008 21:38:22 +0000 (-0700) Subject: Consistently use AM_CPPFLAGS, not AM_CFLAGS, for -D and -I options. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49fc472b296013eb643bdabbcb3d4ff279388d8b;p=openvswitch Consistently use AM_CPPFLAGS, not AM_CFLAGS, for -D and -I options. --- 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