From 020e7688d91f2db00d1b573c8496119ede15e773 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sat, 19 Feb 2011 18:22:39 +0100 Subject: Use AM_CFLAGS when setting CFLAGS. --- lib/Makefile.am | 2 +- lib/examples/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 4d08ead..a76de88 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -31,4 +31,4 @@ libradsec_la_SOURCES += \ endif libradsec_la_LDFLAGS = -version-info 0:0:0 -libradsec_la_CFLAGS = $(CFLAGS) #-DDEBUG -DDEBUG_LEVENT +libradsec_la_CFLAGS = $(AM_CFLAGS) #-DDEBUG -DDEBUG_LEVENT diff --git a/lib/examples/Makefile.am b/lib/examples/Makefile.am index 63c530e..49d3409 100644 --- a/lib/examples/Makefile.am +++ b/lib/examples/Makefile.am @@ -5,4 +5,4 @@ AM_CFLAGS = -Wall -g bin_PROGRAMS = client client_SOURCES = client-blocking.c client_LDADD = ../libradsec.la -client_CFLAGS = $(CFLAGS) $(AM_CFLAGS) -DUSE_CONFIG_FILE +client_CFLAGS = $(AM_CFLAGS) -DUSE_CONFIG_FILE -- cgit v1.1