]> code.ossystems Code Review - openembedded-core.git/commitdiff
libcap 2.22: fix, disable gperf detection
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>
Fri, 28 Mar 2014 16:13:35 +0000 (17:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Mar 2014 08:53:42 +0000 (09:53 +0100)
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>
meta/recipes-support/libcap/libcap.inc

index ccc0fde20c98aef3052c7669dfc137e85e9f67ae..fef700a6291571be02f0d06a269d6cd8f09b5a6e 100644 (file)
@@ -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 = " \