summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-11 18:05:00 -0700
committerKhem Raj <raj.khem@gmail.com>2022-08-12 01:24:27 -0700
commit3d3d7b1d6b81e59b996efd7e05a76cb3c8a7fc80 (patch)
tree7e45cd3ce0749dc80e2147b0cea2e21cf9e57724 /meta-networking
parent02fc7f371d957cbe47f3e1a9f659eccb923306cb (diff)
downloadmeta-openembedded-3d3d7b1d6b81e59b996efd7e05a76cb3c8a7fc80.tar.gz
openipmi: Enable largefile cflags
When largefile distro feature is enabled the relevant flags are needed to be passed, otherwise large file support wont work, since we are cross compiling and runtime checks will fail. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
index 8625afaa74..eca5865f68 100644
--- a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
+++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
@@ -41,6 +41,8 @@ SRC_URI[sha256sum] = "f6d0fd4c0a74b05f80907229d0b270f54ca23294bcc11979f8b8d12766
41 41
42inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig 42inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig
43 43
44CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64', '', d)}"
45
44EXTRA_OECONF = "--disable-static \ 46EXTRA_OECONF = "--disable-static \
45 --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \ 47 --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \
46 --with-python='${STAGING_BINDIR_NATIVE}/python3-native/python3' \ 48 --with-python='${STAGING_BINDIR_NATIVE}/python3-native/python3' \