summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-03-28 17:13:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-30 09:53:42 +0100
commit5c7946f790b5e8da8f30e3493c04c07b30b89d17 (patch)
tree168d165ea73ad67fbc7559bcbfa009b531317274
parenta17f879cd5bc7401597ccee908801f8e3efa34c0 (diff)
downloadopenembedded-core-5c7946f790b5e8da8f30e3493c04c07b30b89d17.tar.gz
openembedded-core-5c7946f790b5e8da8f30e3493c04c07b30b89d17.tar.bz2
openembedded-core-5c7946f790b5e8da8f30e3493c04c07b30b89d17.zip
libcap 2.22: fix, disable gperf detection
gperf straight invoke is not suitable for cross environment (gperf-native should be used instead). Formal patch has been submited to the upstream. As libcap 2.24 is currently available, I prefer doing this quick fix. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libcap/libcap.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index ccc0fde20c..fef700a629 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -24,6 +24,9 @@ do_configure() {
# on what should be replaced with ?=
sed -e 's,:=,?=,g' -i Make.Rules
sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules
+
+ # disable gperf detection
+ sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile
}
EXTRA_OEMAKE = " \