summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-03-05 12:19:19 -0800
committerKhem Raj <raj.khem@gmail.com>2021-03-05 12:22:57 -0800
commit9b62982d6cade2cf7de146e50576993a6b2294b6 (patch)
tree5accaab5a5f569441d5e6249c6327845f392cab7
parent51f98865da0af69564bf47c128b9a2afae7f3cbe (diff)
downloadmeta-openembedded-9b62982d6cade2cf7de146e50576993a6b2294b6.tar.gz
nss: Disable Werror
with newer compilers we are seeing new warnings, e.g. error: argument 1 of type 'int[1]' with mismatched bound [-Werror=array-parameter=] 8 | extern void pr_static_assert(int arg[(((long unsigned int)-1) > (long unsigned int)1) ? 1 : -1]); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ with gcc11 and clang has its own set which triggers here as well, its better to disable werror therefore, we still have warnings if someone wants to fix them but they wont break the builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/nss/nss_3.60.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.60.1.bb b/meta-oe/recipes-support/nss/nss_3.60.1.bb
index 0d668ba067..344cc34728 100644
--- a/meta-oe/recipes-support/nss/nss_3.60.1.bb
+++ b/meta-oe/recipes-support/nss/nss_3.60.1.bb
@@ -121,7 +121,8 @@ do_compile() {
121 fi 121 fi
122 122
123 export NSS_DISABLE_GTESTS=1 123 export NSS_DISABLE_GTESTS=1
124 124 # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99420
125 export NSS_ENABLE_WERROR=0
125 # We can modify CC in the environment, but if we set it via an 126 # We can modify CC in the environment, but if we set it via an
126 # argument to make, nsinstall, a host program, will also build with it! 127 # argument to make, nsinstall, a host program, will also build with it!
127 # 128 #