opnsense-ports/databases/ldb13/files/patch-lib__replace__wscript

12 lines
427 B
Plaintext

--- lib/replace/wscript.orig 2017-08-24 11:27:53 UTC
+++ lib/replace/wscript
@@ -81,7 +81,7 @@ def configure(conf):
conf.CHECK_HEADERS('sys/atomic.h')
conf.CHECK_HEADERS('libgen.h')
- if conf.CHECK_CFLAGS('-Wno-format-truncation'):
+ if conf.CHECK_CFLAGS(['-Wno-format-truncation'] + conf.env.WERROR_CFLAGS):
conf.define('HAVE_WNO_FORMAT_TRUNCATION', '1')
# Check for process set name support