summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-20 12:05:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-20 12:25:24 +0000
commit2a7b96549aab7c6dd854edf3c18e2bb6bb48479d (patch)
tree0038df0b61011bd7df28716a2942b63638a8ca59
parentec480d385dd61798dfa224d0c940a36f053f2942 (diff)
downloadopenembedded-core-2a7b96549aab7c6dd854edf3c18e2bb6bb48479d.tar.gz
openembedded-core-2a7b96549aab7c6dd854edf3c18e2bb6bb48479d.tar.bz2
openembedded-core-2a7b96549aab7c6dd854edf3c18e2bb6bb48479d.zip
libcap: Allow rebuilds to work correctly
Currently rerunning configure for libcap causes a build failure. This fixes the sed expressions to work correctly for a rebuild. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libcap/libcap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 1b11b85554..5319bc3564 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -23,7 +23,7 @@ do_configure() {
# libcap uses := for compilers, fortunately, it gives us a hint
# 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
+ sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules
}
EXTRA_OEMAKE = " \