]> code.ossystems Code Review - openembedded-core.git/commit
nss: Fix build with clang
authorKhem Raj <raj.khem@gmail.com>
Wed, 13 Jul 2016 06:38:49 +0000 (23:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:51 +0000 (10:24 +0100)
commitd13640f39f8f467597daa42774102329e82d9b68
treeb4bad1be8f199e41bafbdc75183313a3b0c609a4
parent9979e35ffb0dfb20d8aaffa8e2ec5e33f27fc009
nss: Fix build with clang

Add a patch to disable a clang specific warning
and avoid passing clang options to gcc when we have
cross compiler is clang but host compiler is gcc
We do not need to use target cflags when building
native pieces and hence avoid the inter-mixing of
compiler options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch [new file with mode: 0644]
meta/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
meta/recipes-support/nss/nss_3.24.bb