mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
nss: Upgrade to 3.23
Disable Werror on native builds. This helps in building nss-native on build hosts which have gcc < 4.9 eg. ubuntu 14.04 The real issue is that we use headers from native staging sysroot and it has the updated glibc headers which then ends up with errors e.g. | In function 'memset', | inlined from 'sec_PKCS7Encrypt' at p7local.c:715:14: | /usr/include/x86_64-linux-gnu/bits/string3.h:81:30: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] | __warn_memset_zero_len (); | ^ | cc1: all warnings being treated as errors | make[2]: *** [Linux3.4_x86_64_glibc_PTH_64_OPT.OBJ/p7local.o] Error 1 (From OE-Core rev: e69feac4066c8c27b50c88daf9ebaa27a5c54646) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://nss/COPYING;md5=3b1e88e1b9c0b5a4b2881d46cce06a18 \
|
||||
file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=5d425c8f3157dbf212db2ec53d9e5132"
|
||||
|
||||
SRC_URI = "\
|
||||
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_21_RTM/src/${BP}.tar.gz \
|
||||
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_23_RTM/src/${BP}.tar.gz \
|
||||
file://nss-fix-support-cross-compiling.patch \
|
||||
file://nss-no-rpath-for-cross-compiling.patch \
|
||||
file://nss-fix-incorrect-shebang-of-perl.patch \
|
||||
@@ -24,9 +24,8 @@ SRC_URI = "\
|
||||
file://nss.pc.in \
|
||||
file://signlibs.sh \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "3c8b2ed880dd3a8d86c9e0151afe6eba"
|
||||
SRC_URI[sha256sum] = "3f7a5b027d7cdd5c0e4ff7544da33fdc6f56c2f8c27fff02938fd4a6fbe87239"
|
||||
SRC_URI[md5sum] = "21c3fed84441b2ab4c50ac626f6517e7"
|
||||
SRC_URI[sha256sum] = "94b383e31c9671e9dfcca81084a8a813817e8f05a57f54533509b318d26e11cf"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
|
||||
UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"
|
||||
@@ -49,6 +48,7 @@ do_configure_prepend_libc-musl () {
|
||||
do_compile_prepend_class-native() {
|
||||
export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE}
|
||||
export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE}
|
||||
export NSS_ENABLE_WERROR=0
|
||||
}
|
||||
|
||||
do_compile_prepend_class-nativesdk() {
|
||||
Reference in New Issue
Block a user