diff options
author | Matthieu Crapet <Matthieu.Crapet@ingenico.com> | 2014-03-28 17:13:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-30 10:10:34 +0100 |
commit | 0bc2d874895336b9bf49e4339577b87cccccf64e (patch) | |
tree | f0a5e4f613019f0515d5f9585e08a04f73f75917 | |
parent | 7cb65151f83e45a698f5e28e77fc6d7f382d8aee (diff) | |
download | poky-0bc2d874895336b9bf49e4339577b87cccccf64e.tar.gz |
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.
(From OE-Core rev: 5c7946f790b5e8da8f30e3493c04c07b30b89d17)
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.inc | 3 |
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() { | |||
24 | # on what should be replaced with ?= | 24 | # on what should be replaced with ?= |
25 | sed -e 's,:=,?=,g' -i Make.Rules | 25 | sed -e 's,:=,?=,g' -i Make.Rules |
26 | sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules | 26 | sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules |
27 | |||
28 | # disable gperf detection | ||
29 | sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile | ||
27 | } | 30 | } |
28 | 31 | ||
29 | EXTRA_OEMAKE = " \ | 32 | EXTRA_OEMAKE = " \ |