Patchwork build: move library flags to CPPFLAGS

login
register
mail settings
Submitter Jan Engelhardt
Date June 25, 2012, 6:25 p.m.
Message ID <1340648721-16435-2-git-send-email-jengelh@inai.de>
Download mbox | patch
Permalink /patch/167203/
State Accepted
Headers show

Comments

Jan Engelhardt - June 25, 2012, 6:25 p.m.
Because the obtained flags are essentially that (preprocessor
options).

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
 Make_global.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/Make_global.am b/Make_global.am
index 557900d..e3595d2 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -4,5 +4,5 @@ 
 # http://sources.redhat.com/autobook/autobook/autobook_91.html
 LIBVERSION=6:0:3
 
-AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -Wall ${LIBNFNETLINK_CFLAGS} ${LIBMNL_CFLAGS}
+AM_CPPFLAGS = -I$(top_srcdir)/include ${LIBNFNETLINK_CFLAGS} ${LIBMNL_CFLAGS}
+AM_CFLAGS = -Wall