Commit 64b0c407 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Reorder libraries

add "-Wl,--as-needed" to EXTRA_DEVELOPER_CFLAGS to try to prevent
future unordering.

Fixes #486



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4039 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 131dc8c5
......@@ -305,7 +305,7 @@ AC_SUBST(varnishconfdir)
DEVELOPER_CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wformat"
# Additional flags for GCC 4
EXTRA_DEVELOPER_CFLAGS="-Wextra -Wno-missing-field-initializers -Wno-sign-compare"
EXTRA_DEVELOPER_CFLAGS="-Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wl,--as-needed"
# --enable-developer-warnings
AC_ARG_ENABLE(developer-warnings,
......
# $Id$
SUBDIRS = \
libvarnishcompat \
libvarnish \
libvarnishapi \
libvarnishcompat \
libvcl \
@JEMALLOC_SUBDIR@
DIST_SUBDIRS = \
libvarnishcompat \
libvarnish \
libvarnishapi \
libvarnishcompat \
libvcl \
libjemalloc
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