diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-12 21:31:19 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-13 07:05:31 -0700 |
| commit | 4114fdc78be7527fe0adf404df63bb9005355052 (patch) | |
| tree | 06da3c85523d1f2ab9debc3feb097c0c92e823c9 | |
| parent | 6538118f602e47702edacd60daccbb1a00e5016f (diff) | |
| download | meta-openembedded-4114fdc78be7527fe0adf404df63bb9005355052.tar.gz | |
netperf: Always enable largefile support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/netperf/netperf_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb b/meta-networking/recipes-support/netperf/netperf_git.bb index 06b2eddbb6..4074f0cd07 100644 --- a/meta-networking/recipes-support/netperf/netperf_git.bb +++ b/meta-networking/recipes-support/netperf/netperf_git.bb | |||
| @@ -28,8 +28,7 @@ CFLAGS:append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE" | |||
| 28 | 28 | ||
| 29 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files | 29 | # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files |
| 30 | # larger than 2GB | 30 | # larger than 2GB |
| 31 | CFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \ | 31 | CFLAGS:append = " -D_FILE_OFFSET_BITS=64" |
| 32 | ' -D_FILE_OFFSET_BITS=64', '', d)}" | ||
| 33 | 32 | ||
| 34 | PACKAGECONFIG ??= "" | 33 | PACKAGECONFIG ??= "" |
| 35 | PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," | 34 | PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," |
