summaryrefslogtreecommitdiff
path: root/package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py
blob: 3c683367267828009f4835859c264a60f3bf192d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- talloc-2.1.2.orig/buildtools/wafsamba/samba_autoconf.py	2015-02-27 09:40:16.000000000 +0100
+++ talloc-2.1.2/buildtools/wafsamba/samba_autoconf.py	2015-05-13 11:22:52.000000000 +0200
@@ -646,10 +646,6 @@ def SAMBA_CONFIG_H(conf, path=None):
     if not IN_LAUNCH_DIR(conf):
         return
 
-    if conf.CHECK_CFLAGS(['-fstack-protector']) and conf.CHECK_LDFLAGS(['-fstack-protector']):
-        conf.ADD_CFLAGS('-fstack-protector')
-        conf.ADD_LDFLAGS('-fstack-protector')
-
     if Options.options.debug:
         conf.ADD_CFLAGS('-g', testflags=True)