summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-29 08:28:46 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-10-29 08:28:46 +0100
commit314c5d77edcb6fb902aa1ddd27e2a3cb28d7b4ff (patch)
treef5cf5f97589d867ef82cfd27c1d91cdec5adaf02
parent673b48ef2fb3a8488faf9fe78d150a57fe42ee23 (diff)
build: remove -fstack-protector
-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>
-rw-r--r--Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 549cc37..898caca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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