build: Build *_wrapper without -DNDEBUG for in-tree use
authorAndrew Bartlett <abartlet@samba.org>
Mon, 10 Aug 2015 00:40:13 +0000 (12:40 +1200)
committerMichael Adam <obnox@samba.org>
Fri, 16 Oct 2015 14:36:22 +0000 (16:36 +0200)
These binaires are not installed, so are only used in make test,
and there we need debug output.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Oct 16 16:36:22 CEST 2015 on sn-devel-104

lib/nss_wrapper/wscript
lib/resolv_wrapper/wscript
lib/socket_wrapper/wscript
lib/uid_wrapper/wscript

index b25b83d30a23ff6fd01f6f34828a2e5eca63dc00..0796bdbb2a6d9b1d73c4f7523ffb0403c5baa8d9 100644 (file)
@@ -102,7 +102,6 @@ def build(bld):
         # breaks preloading!
         bld.SAMBA_LIBRARY('nss_wrapper',
                           source='nss_wrapper.c',
-                          cflags='-DNDEBUG',
                           deps='dl',
                           install=False,
                           realname='libnss-wrapper.so')
index 4a00d1f9bd4a693930f20290d27e58d6e202118f..34c00d2fa6f2f1849a852c14940d4fc7aa49d179 100644 (file)
@@ -92,7 +92,6 @@ def build(bld):
         # breaks preloading!
         bld.SAMBA_LIBRARY('resolv_wrapper',
                           source='resolv_wrapper.c',
-                          cflags='-DNDEBUG',
                           deps='dl resolv',
                           install=False,
                           realname='libresolv-wrapper.so')
index 8c9e87ecda1410ef07a186722d0df8a17e9ef3db..9d9bf0141d839d6468e5d385095d8eb51020bc7a 100644 (file)
@@ -107,7 +107,6 @@ def build(bld):
         # breaks preloading!
         bld.SAMBA_LIBRARY('socket_wrapper',
                           source='socket_wrapper.c',
-                          cflags='-DNDEBUG',
                           deps='dl',
                           install=False,
                           realname='libsocket-wrapper.so')
index 8e3950fa5a88f8e5df35f35fcda3b6c1f7f3b28e..9cdc069ed18ca6fb891615dd0947c37c40117c6b 100644 (file)
@@ -125,7 +125,6 @@ def build(bld):
         # breaks preloading!
         bld.SAMBA_LIBRARY('uid_wrapper',
                           source='uid_wrapper.c',
-                          cflags='-DNDEBUG',
                           deps='dl',
                           install=False,
                           realname='libuid-wrapper.so')