[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Jun 19 04:52:04 MDT 2015

The branch, master has been updated
       via  893b5f8 wafsamba: Also build libraries with RELRO protection
      from  052b9a5 Fix a typo


- Log -----------------------------------------------------------------
commit 893b5f81441bbc98ef403855ec8e2e39569479d2
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Jun 19 09:28:32 2015 +0200

    wafsamba: Also build libraries with RELRO protection
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11346
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Guenther Deschner <gd at samba.org>
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Jun 19 12:51:48 CEST 2015 on sn-devel-104


Summary of changes:
 buildtools/wafsamba/wafsamba.py | 2 ++
 1 file changed, 2 insertions(+)

Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 64382da..c27241e 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -242,6 +242,8 @@ def SAMBA_LIBRARY(bld, libname, source,
                                     bundled_extension, private_library)
     ldflags = TO_LIST(ldflags)
+    if bld.env['ENABLE_RELRO'] is True:
+        ldflags.extend(TO_LIST('-Wl,-z,relro,-z,now'))
     features = 'cc cshlib symlink_lib install_lib'
     if pyext:

Samba Shared Repository

More information about the samba-cvs mailing list