summaryrefslogtreecommitdiff
path: root/package/samba/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-12 18:48:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-12 18:48:40 +0200
commit59fa2dcdee8e277429bca809e7334c7ac53fc1a3 (patch)
tree8fed9a4a262298baf4b5044a8d36abc9f49e6436 /package/samba/patches
parentcb6b9d5287c70d0d4e3142a427f9d80896537825 (diff)
update to samba4, simplify package, support subpackages later
Diffstat (limited to 'package/samba/patches')
-rw-r--r--package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py b/package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py
new file mode 100644
index 000000000..d8025784a
--- /dev/null
+++ b/package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py
@@ -0,0 +1,13 @@
+--- samba-4.2.0.orig/buildtools/wafsamba/samba_autoconf.py 2015-02-24 19:59:51.000000000 +0100
++++ samba-4.2.0/buildtools/wafsamba/samba_autoconf.py 2015-04-07 23:06:53.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)
+