aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gettext')
-rw-r--r--recipes/gettext/gettext_0.18.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/gettext/gettext_0.18.bb b/recipes/gettext/gettext_0.18.bb
index 5ad6459630..d27fad8f55 100644
--- a/recipes/gettext/gettext_0.18.bb
+++ b/recipes/gettext/gettext_0.18.bb
@@ -19,6 +19,9 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
SRC_URI_append_libc-uclibc = " file://gettext-error_print_progname.patch"
+nolargefile = "${@base_contains('DISTRO_FEATURES', 'largefile', '', '-DNO_LARGEFILE_SOURCE', d)}"
+EXTRA_OEMAKE_append_libc-uclibc = "'CFLAGS=${CFLAGS} ${nolargefile}'"
+
PARALLEL_MAKE = ""
inherit autotools