summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-02-19 18:22:39 +0100
committerLinus Nordberg <linus@nordu.net>2011-02-19 18:22:39 +0100
commit020e7688d91f2db00d1b573c8496119ede15e773 (patch)
treeb84473fa6416596b6d2574b551c5b346cc55b1af
parentdb56d120d61c375a306f281c4096ee9dd3cc0470 (diff)
Use AM_CFLAGS when setting CFLAGS.
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/examples/Makefile.am2
2 files changed, 2 insertions, 2 deletions
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