diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:05:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:26:31 +0000 |
commit | 8685b5cb5156b093e6379407184276e339a28ab7 (patch) | |
tree | e6122ebe38f6d8b46944981435c8b0635a70e85c /meta/recipes-support/libcap/libcap.inc | |
parent | a69ccc55036cbfc61dc8e5ab907f575c4dd9a679 (diff) | |
download | poky-8685b5cb5156b093e6379407184276e339a28ab7.tar.gz |
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.
(From OE-Core rev: 2a7b96549aab7c6dd854edf3c18e2bb6bb48479d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap/libcap.inc')
-rw-r--r-- | meta/recipes-support/libcap/libcap.inc | 2 |
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() { | |||
23 | # libcap uses := for compilers, fortunately, it gives us a hint | 23 | # libcap uses := for compilers, fortunately, it gives us a hint |
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 | } | 27 | } |
28 | 28 | ||
29 | EXTRA_OEMAKE = " \ | 29 | EXTRA_OEMAKE = " \ |