From ae485fd8711bff7147853515fcf9a8e04c217c5d Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 27 Sep 2011 19:50:13 +0200 Subject: Pass necessary compiler and linker flags. All the source files compiled into the library needs all flags too. --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 70f9284..f83295c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,9 +34,11 @@ catgconf_SOURCES = \ gconfig.c \ catgconf.c -radsecproxy_CFLAGS = \ +librsp_a_CFLAGS = \ -g -Wall -Werror -fno-strict-aliasing @SSL_CFLAGS@ @TARGET_CFLAGS@ -radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ +librsp_a_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@ +radsecproxy_CFLAGS = $(librsp_a_CFLAGS) +radsecproxy_LDFLAGS = $(librsp_a_LDFLAGS) radsecproxy_LDADD = librsp.a @SSL_LIBS@ catgconf_CFLAGS = -g -Wall -fno-strict-aliasing @TARGET_CFLAGS@ -- cgit v1.1