Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e60db5be
Commit
e60db5be
authored
Aug 23, 2012
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass -Wc,-fstack-protector to the libtool ld stage, to make the stack protector work on omnios
parent
7ad9ae5c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
8 deletions
+23
-8
configure.ac
configure.ac
+5
-1
Makefile.am
lib/libvarnish/Makefile.am
+3
-1
Makefile.am
lib/libvarnishapi/Makefile.am
+3
-1
Makefile.am
lib/libvarnishcompat/Makefile.am
+2
-1
Makefile.am
lib/libvcl/Makefile.am
+3
-1
Makefile.am
lib/libvgz/Makefile.am
+2
-1
Makefile.am
lib/libvmod_debug/Makefile.am
+2
-1
Makefile.am
lib/libvmod_std/Makefile.am
+3
-1
No files found.
configure.ac
View file @
e60db5be
...
...
@@ -480,12 +480,16 @@ AC_ARG_ENABLE(stack-protector,
if test "x$enable_stack_protector" != "xno"; then
save_CFLAGS="$CFLAGS"
CFLAGS="${CFLAGS} -fstack-protector-all"
save_AM_LT_LDFLAGS="$AM_LT_LDFLAGS"
AM_LT_LDFLAGS="${AM_LT_LDFLAGS} -Wc,-fstack-protector"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([],[],[])],
[],
[AC_MSG_WARN([-fstack-protector not supported, disabling])
CFLAGS="$save_CFLAGS"])
CFLAGS="$save_CFLAGS"]
AM_LT_LDFLAGS="$save_AM_LT_LDFLAGS")
fi
AC_SUBST(AM_LT_LDFLAGS)
# --enable-tests
AC_ARG_ENABLE(tests,
...
...
lib/libvarnish/Makefile.am
View file @
e60db5be
INCLUDES
=
-I
$(top_srcdir)
/include @PCRE_CFLAGS@
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
pkglib_LTLIBRARIES
=
libvarnish.la
libvarnish_la_LDFLAGS
=
-avoid-version
libvarnish_la_LDFLAGS
=
$(AM_LDFLAGS)
-avoid-version
libvarnish_la_SOURCES
=
\
vav.c
\
...
...
lib/libvarnishapi/Makefile.am
View file @
e60db5be
#
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
INCLUDES
=
-I
$(top_srcdir)
/include @PCRE_CFLAGS@
lib_LTLIBRARIES
=
libvarnishapi.la
libvarnishapi_la_LDFLAGS
=
-version-info
1:0:0
libvarnishapi_la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
1:0:0
libvarnishapi_la_SOURCES
=
\
vsm_api.h
\
...
...
lib/libvarnishcompat/Makefile.am
View file @
e60db5be
#
INCLUDES
=
-I
$(top_srcdir)
/include
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
pkglib_LTLIBRARIES
=
libvarnishcompat.la
libvarnishcompat_la_LDFLAGS
=
-avoid-version
libvarnishcompat_la_LDFLAGS
=
$(AM_LDFLAGS)
-avoid-version
libvarnishcompat_la_SOURCES
=
\
daemon.c
\
...
...
lib/libvcl/Makefile.am
View file @
e60db5be
#
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_builddir)
/include
pkglib_LTLIBRARIES
=
libvcl.la
libvcl_la_LDFLAGS
=
-avoid-version
libvcl_la_LDFLAGS
=
$(AM_LDFLAGS)
-avoid-version
libvcl_la_SOURCES
=
\
vcc_compile.h
\
...
...
lib/libvgz/Makefile.am
View file @
e60db5be
#
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
pkglib_LTLIBRARIES
=
libvgz.la
libvgz_la_LDFLAGS
=
-avoid-version
libvgz_la_LDFLAGS
=
$(AM_LDFLAGS)
-avoid-version
libvgz_la_CFLAGS
=
-D_LARGEFILE64_SOURCE
=
1
$(libvgz_extra_cflags)
libvgz_la_SOURCES
=
\
...
...
lib/libvmod_debug/Makefile.am
View file @
e60db5be
#
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
INCLUDES
=
\
-I
$(top_srcdir)
/include
\
...
...
@@ -10,7 +11,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_debug
vmodtool
=
$(top_srcdir)
/lib/libvcl/vmodtool.py
noinst_LTLIBRARIES
=
libvmod_debug.la
libvmod_debug_la_LDFLAGS
=
-module
-export-dynamic
-avoid-version
-rpath
/nowhere
libvmod_debug_la_LDFLAGS
=
$(AM_LDFLAGS)
-module
-export-dynamic
-avoid-version
-rpath
/nowhere
libvmod_debug_la_SOURCES
=
\
vcc_if.c
\
...
...
lib/libvmod_std/Makefile.am
View file @
e60db5be
#
AM_LDFLAGS
=
$(AM_LT_LDFLAGS)
INCLUDES
=
\
-I
$(top_srcdir)
/include
\
-I
$(top_srcdir)
/bin/varnishd
\
...
...
@@ -12,7 +14,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_std
vmodtool
=
$(top_srcdir)
/lib/libvcl/vmodtool.py
vmod_LTLIBRARIES
=
libvmod_std.la
libvmod_std_la_LDFLAGS
=
-module
-export-dynamic
-avoid-version
libvmod_std_la_LDFLAGS
=
$(AM_LDFLAGS)
-module
-export-dynamic
-avoid-version
libvmod_std_la_SOURCES
=
\
vcc_if.c
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment