Reintroduce -fstack-protector
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 12 Sep 2013 16:07:54 +0000 (18:07 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Sep 2013 05:51:23 +0000 (15:51 +1000)
commitf5e65ea3ce2541fe8ccfafe9b0dd04325da75b34
tree8c04848ee8d40d9bb7921a7af64edcf2ba10503a
parent92b2b1ccd527ed05f8882726cc090af747e1f58e
Reintroduce -fstack-protector

We removed this previously due to build failures in:

  commit 14ac764ec86452ca607403f314b0f8355d80290c
  Author: David Herrmann <dh.herrmann@gmail.com>
  Date:   Mon Sep 9 16:03:41 2013 +0200

      build: remove -fstack-protector

Reintroduce it but this time disable it if it's not supported. We use the
CC-flags testing to prevent build-failures on gcc without libssp support.

Cc: Giovanni Campagna <gcampagn@redhat.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
configure.ac