Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libcap: Allow rebuilds to work correctly
@ 2013-12-20 12:05 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-12-20 12:05 UTC (permalink / raw)
  To: openembedded-core

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>
---
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 1b11b85..5319bc3 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 = " \




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-20 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 12:05 [PATCH] libcap: Allow rebuilds to work correctly Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox