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:
a12e12e
)
replace: Check for -Wno-strict-overflow
author
Andreas Schneider
<asn@samba.org>
Fri, 23 Mar 2018 15:27:00 +0000
(16:27 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 3 Apr 2018 18:20:11 +0000
(20:20 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 66398970da317fbe73df54346899940afe43cbc3..541573babf26660036d2ab2bd2741cfff65ca94e 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-122,6
+122,9
@@
def configure(conf):
if conf.CHECK_CFLAGS('-Wno-unused-function'):
conf.define('HAVE_WNO_UNUSED_FUNCTION', '1')
+ if conf.CHECK_CFLAGS('-Wno-strict-overflow'):
+ conf.define('HAVE_WNO_STRICT_OVERFLOW', '1')
+
# Check for process set name support
conf.CHECK_CODE('''
#include <sys/prctl.h>