summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-07-15 18:58:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-20 10:40:40 +0100
commit2173c00a5f930da79871d2cd326b558763d80084 (patch)
tree894c286809185478e8db5f59e902b337480a30d4 /meta/recipes-support/libcap
parent26b2db8024e968a1ad0ebdf60444caec5aea2eb6 (diff)
downloadpoky-2173c00a5f930da79871d2cd326b558763d80084.tar.gz
libcap: avoid losing default Large File Support CFLAGS
-D_LARGEFILE64_SOURCE and -D_FILE_OFFSET_BITS=64 are present in the default libcap CFLAGS. Add them to the OE CFLAGS too, so that they are still in effect when the OE CFLAGS over-ride the defaults. (From OE-Core rev: 974c8266b30ae114ab331f0ce39fd0fcf4868f1a) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap')
-rw-r--r--meta/recipes-support/libcap/libcap_2.24.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.24.bb b/meta/recipes-support/libcap/libcap_2.24.bb
index e8ae7ce9ab..161bb702c3 100644
--- a/meta/recipes-support/libcap/libcap_2.24.bb
+++ b/meta/recipes-support/libcap/libcap_2.24.bb
@@ -41,6 +41,9 @@ EXTRA_OEMAKE = " \
41 41
42EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}" 42EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}"
43 43
44# these are present in the libcap defaults, so include in our CFLAGS too
45CFLAGS += "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
46
44do_compile() { 47do_compile() {
45 oe_runmake ${EXTRA_OECONF} 48 oe_runmake ${EXTRA_OECONF}
46} 49}