Commit ea4b77ca authored by Federico G. Schwindt's avatar Federico G. Schwindt

Remove warnings and add libm to libvarnishapi

parent d4ccf56a
......@@ -13,8 +13,6 @@ libvarnish_a_CFLAGS = \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"' \
@SAN_CFLAGS@
libvarnish_a_LDFLAGS = $(AM_LDFLAGS)
libvarnish_a_SOURCES = \
binary_heap.c \
vas.c \
......
......@@ -48,8 +48,8 @@ libvarnishapi_la_CFLAGS = \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"' \
@SAN_CFLAGS@
libvarnishapi_la_LIBADD = @PCRE_LIBS@ @RT_LIBS@ \
@SAN_LDFLAGS@
libvarnishapi_la_LIBADD = \
@SAN_LDFLAGS@ @PCRE_LIBS@ ${RT_LIBS} ${LIBM}
if HAVE_LD_VERSION_SCRIPT
libvarnishapi_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libvarnishapi.map
......
......@@ -11,9 +11,6 @@ noinst_LIBRARIES = libvcc.a
libvcc_a_CFLAGS = \
@SAN_CFLAGS@
libvcc_a_LDFLAGS = $(AM_LDFLAGS) \
@SAN_LDFLAGS@
libvcc_a_SOURCES = \
vcc_compile.h \
vcc_token_defs.h \
......
......@@ -7,9 +7,6 @@ noinst_LIBRARIES = libvgz.a
libvgz_a_CFLAGS = -D_LARGEFILE64_SOURCE=1 -DZLIB_CONST \
$(libvgz_extra_cflags) @SAN_CFLAGS@
libvgz_a_LDFLAGS = $(AM_LDFLAGS) \
@SAN_LDFLAGS@
libvgz_a_SOURCES = \
adler32.c \
compress.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment