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:25:24 +0000 |
commit | 2a7b96549aab7c6dd854edf3c18e2bb6bb48479d (patch) | |
tree | 0038df0b61011bd7df28716a2942b63638a8ca59 /meta/recipes-support | |
parent | ec480d385dd61798dfa224d0c940a36f053f2942 (diff) | |
download | openembedded-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>
Diffstat (limited to 'meta/recipes-support')
-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() { # 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 = " \ |