From 59fa2dcdee8e277429bca809e7334c7ac53fc1a3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Apr 2015 18:48:17 +0200 Subject: update to samba4, simplify package, support subpackages later --- .../patches/patch-buildtools_wafsamba_samba_autoconf_py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py (limited to 'package/samba/patches/patch-buildtools_wafsamba_samba_autoconf_py') 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) + -- cgit v1.2.3