summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-08 22:36:38 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-08 22:36:38 +0000
commitc878c09b354196a7814123016676bdaac7b9147a (patch)
tree1c00449e48abb697dc7604240ac2678f96f1b5e8 /configure.ac
parent564b9dd0f1da53ee73e667618d5bb1d65b0c309f (diff)
Disable SSP on archs that don't support it. (Patch idead from Sjoerd Simons; Closes #137)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1462 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2286b80..cbfa2b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,7 +84,7 @@ if test x"$enable_ssp" = x"yes"; then
AC_MSG_CHECKING([whether stack-smashing protection is available])
ssp_old_cflags="$CFLAGS"
ssp_old_ldflags="$LDFLAGS"
- CFLAGS="$CFLAGS -fstack-protector-all -fPIC"
+ CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC"
LDFLAGS="$LDFLAGS -Wl,-z,defs"
cat confdefs.h > conftest.c
cat >>conftest.c <<_ACEOF