summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/netperf/netperf_2.6.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
index eda78599c1..c206d5657d 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
@@ -23,6 +23,11 @@ S = "${WORKDIR}/netperf-${PV}"
23# cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros 23# cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros
24CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE" 24CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
25 25
26# set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files
27# larger than 2GB
28CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
29 ' -D_FILE_OFFSET_BITS=64', '', d)}"
30
26# autotools.bbclass attends to include m4 files with path depth <= 2 by 31# autotools.bbclass attends to include m4 files with path depth <= 2 by
27# "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4. 32# "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
28do_configure_prepend() { 33do_configure_prepend() {