git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2606c99
)
build: detect availability of -Wno-unused-function
author
Uri Simchoni
<uri@samba.org>
Sun, 19 Nov 2017 11:33:03 +0000
(11:33 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 22 Nov 2017 09:20:20 +0000
(10:20 +0100)
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 7436a90c003dd48dcc3d30136e332f375971dbf1..2f94d4937d3b51b55e7148963c37954aa7ab319b 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-84,6
+84,9
@@
def configure(conf):
if conf.CHECK_CFLAGS('-Wno-format-truncation'):
conf.define('HAVE_WNO_FORMAT_TRUNCATION', '1')
+ if conf.CHECK_CFLAGS('-Wno-unused-function'):
+ conf.define('HAVE_WNO_UNUSED_FUNCTION', '1')
+
# Check for process set name support
conf.CHECK_CODE('''
#include <sys/prctl.h>