diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-09-11 10:13:37 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-11 20:42:05 -0700 |
| commit | 46167832040c7f31e1b0534d18cf97706a315148 (patch) | |
| tree | 14bec0f1b708260a72983a6bd1344759ee0bff79 | |
| parent | 6b50ce8f07b61d111f82c3ca88c5125192c214a0 (diff) | |
| download | meta-openembedded-46167832040c7f31e1b0534d18cf97706a315148.tar.gz | |
libcdio: Define _LARGEFILE64_SOURCE
This package tries to use fseek/fseeko/fseeko64 based on a local logic
where it sees a need to use largefile supported fseeko on 32bit however
is a transparent implementation of fseeko, so to get explicit
definitions of fseeko64/lseek64 etc. serve the definition on 32bit
architectures via cmdline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb index 1facd47d8f..62004ac440 100644 --- a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb +++ b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb | |||
| @@ -18,6 +18,9 @@ PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses" | |||
| 18 | PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb" | 18 | PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb" |
| 19 | PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager" | 19 | PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager" |
| 20 | 20 | ||
| 21 | # add -D_LARGEFILE64_SOURCE for 32bit targets | ||
| 22 | CFLAGS += "${@['-D_LARGEFILE64_SOURCE',''][d.getVar('SITEINFO_BITS') != '32']}" | ||
| 23 | |||
| 21 | PACKAGES += "${PN}-utils" | 24 | PACKAGES += "${PN}-utils" |
| 22 | 25 | ||
| 23 | FILES:${PN} = "${libdir}/${BPN}${SOLIB}" | 26 | FILES:${PN} = "${libdir}/${BPN}${SOLIB}" |
