Skip to content

Commit

Permalink
Pass necessary compiler and linker flags.
Browse files Browse the repository at this point in the history
All the source files compiled into the library needs all flags too.
  • Loading branch information
Linus Nordberg committed Sep 27, 2011
1 parent f2d92c0 commit ae485fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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@
Expand Down

0 comments on commit ae485fd

Please sign in to comment.