build: remove -fstack-protector
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 29 Oct 2013 07:28:46 +0000 (08:28 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 29 Oct 2013 07:28:46 +0000 (08:28 +0100)
-fstack-protector should be set by the build-environment, not by each
project. It may fail in subtle ways if the toolchain doesn't support it.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Makefile.am

index 549cc37..898caca 100644 (file)
@@ -65,8 +65,7 @@ AM_CFLAGS = \
        -fno-strict-aliasing \
        -fvisibility=hidden \
        -ffunction-sections \
-       -fdata-sections \
-       -fstack-protector
+       -fdata-sections
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
        -I $(srcdir)/src