diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libcap/libcap.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc index 7f16a569c8..772057f510 100644 --- a/meta/recipes-support/libcap/libcap.inc +++ b/meta/recipes-support/libcap/libcap.inc | |||
@@ -16,11 +16,13 @@ PR = "r1" | |||
16 | 16 | ||
17 | inherit lib_package | 17 | inherit lib_package |
18 | 18 | ||
19 | # do NOT pass target cflags to host compilations | ||
20 | # | ||
19 | do_configure() { | 21 | do_configure() { |
20 | # libcap uses := for compilers, fortunately, it gives us a hint | 22 | # libcap uses := for compilers, fortunately, it gives us a hint |
21 | # on what should be replaced with ?= | 23 | # on what should be replaced with ?= |
22 | sed -e 's,:=,?=,g' -i Make.Rules | 24 | sed -e 's,:=,?=,g' -i Make.Rules |
23 | sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules | 25 | sed -e 's,^BUILD_CFLAGS ?= $(CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules |
24 | } | 26 | } |
25 | 27 | ||
26 | EXTRA_OEMAKE = " \ | 28 | EXTRA_OEMAKE = " \ |