Use AM_CFLAGS when setting CFLAGS.
authorLinus Nordberg <linus@nordu.net>
Sat, 19 Feb 2011 17:22:39 +0000 (18:22 +0100)
committerLinus Nordberg <linus@nordu.net>
Sat, 19 Feb 2011 17:22:39 +0000 (18:22 +0100)
lib/Makefile.am
lib/examples/Makefile.am

index 4d08ead..a76de88 100644 (file)
@@ -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 
index 63c530e..49d3409 100644 (file)
@@ -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