aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-17 05:28:53 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-19 10:38:39 +0000
commitb9bd517d23041206cb6bef3eb2ba3c5adfcb0dc2 (patch)
tree740d37888c2dc8a0c7a138a0bbe25d68bd11ca8a
parent3564e1dd729f8044d3d7bbb8f025e893da4d5716 (diff)
lightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGS
Some media may have 4GB files which will cause failure on a 32-bit system scan. This solves this on 32-bit systems with -D_FILE_OFFSET_BITS=64 compile flag. Bug-AGL: SPEC-604 Change-Id: Id941ee9f08b35e70ddab651268e5b443a26a9ec2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9403 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Matt Porter <mporter@konsulko.com> Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl/recipes-multimedia/lightmediascanner/lightmediascanner_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl/recipes-multimedia/lightmediascanner/lightmediascanner_%.bbappend b/meta-agl/recipes-multimedia/lightmediascanner/lightmediascanner_%.bbappend
index b1c3b6e92..52be41580 100644
--- a/meta-agl/recipes-multimedia/lightmediascanner/lightmediascanner_%.bbappend
+++ b/meta-agl/recipes-multimedia/lightmediascanner/lightmediascanner_%.bbappend
@@ -10,6 +10,8 @@ SRC_URI += "file://lightmediascanner.service \
file://lightmediascanner.sh \
"
+CFLAGS_append = " -D_FILE_OFFSET_BITS=64"
+
inherit systemd
do_install_append() {