diff options
author | Thomas Nagy <tnagy@waf.io> | 2015-10-03 22:29:15 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-10-13 06:34:16 +0200 |
commit | 96108058d0d89593ac9f59433213ed2f66663186 (patch) | |
tree | c3818f38c66a262998dccacb5d55b4da8cfb00a1 /buildtools/wafsamba/wscript | |
parent | e73ccc06efc3b489cac33e99b2cb86e022aabd7f (diff) | |
download | samba-96108058d0d89593ac9f59433213ed2f66663186.tar.gz |
build:wafsamba: Enable feature-compatible declaration for Waf 1.8
In Waf 1.8 the declaration is features='c', not features='cc'. These changes
prepare the replacement of Waf 1.5 by Waf 1.8 for Samba.
Signed-off-by: Thomas Nagy <tnagy@waf.io>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rwxr-xr-x | buildtools/wafsamba/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 422b74254ff..aca444be401 100755 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -241,7 +241,7 @@ def configure(conf): cc.run = Task.compile_fun_noshell('cc', '${CC} ${CCFLAGS} ${CPPFLAGS} ${_CCINCFLAGS} ${_CCDEFFLAGS} ${CC_SRC_F}${SRC} ${CC_TGT_F}${TGT[0].abspath(env)}')[0] try: try: - conf.check(features='cc testd', fragment='int main() {return 0;}\n', ccflags=['-MD'], mandatory=True, msg='Check for -MD') + conf.check(features='c testd', fragment='int main() {return 0;}\n', ccflags=['-MD'], mandatory=True, msg='Check for -MD') except: pass else: |