summaryrefslogtreecommitdiff
path: root/package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-15 21:40:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-15 21:40:58 +0200
commit88dc317d5510827a551697805c5d167d3ecb0975 (patch)
tree844617488fd1dc07aaccac5f680cb73a66622939 /package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py
parentdff2d49e4342587e3d4c2f578eacfdc0e4089cca (diff)
parent0a1c8865d1e019c19639108b2ae1cf53eb863f31 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py')
-rw-r--r--package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py b/package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py
new file mode 100644
index 000000000..3c6833672
--- /dev/null
+++ b/package/talloc/patches/patch-buildtools_wafsamba_samba_autoconf_py
@@ -0,0 +1,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)
+