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>
This commit is contained in:
parent
a69ccc5503
commit
8685b5cb51
|
@ -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 = " \
|
||||
|
|
Loading…
Reference in New Issue