1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-07 12:29:16 -04:00
ports/databases/ldb13/files/patch-lib__replace__wscript
2017-11-20 13:51:23 +00:00

11 lines
427 B
Text

--- 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