summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-12-14 11:29:52 +0000
committerJavier Jardón <jjardon@gnome.org>2016-12-14 11:29:52 +0000
commita5e056b51e7e2d845017152eab23e548f0a8f565 (patch)
tree9092541d3714aa3c0d3dcffdb0bbc624536d6d3f
parent489591e6836a6adec5f044fec2a307716bbe520d (diff)
downloaddefinitions-a5e056b51e7e2d845017152eab23e548f0a8f565.tar.gz
strata/network-security/nss.morph: Disable Werror
To avoid failing when compiling against glibc-2.24: In file included from sysrand.c:16:0: unix_rand.c: In function 'ReadOneFile': unix_rand.c:1090:6: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations] error = readdir_r(fd, &entry_dir, &result);
-rw-r--r--strata/network-security/nss.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/strata/network-security/nss.morph b/strata/network-security/nss.morph
index 2103622c..454c36c2 100644
--- a/strata/network-security/nss.morph
+++ b/strata/network-security/nss.morph
@@ -15,6 +15,7 @@ build-commands:
NSPR_INCLUDE_DIR=/usr/include/nspr \
USE_SYSTEM_ZLIB=1 \
ZLIB_LIBS=-lz \
+ NSS_ENABLE_WERROR=0 \
NSS_USE_SYSTEM_SQLITE=1
install-commands:
- install -d "$DESTDIR"/usr/lib/pkgconfig