summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-03-06 20:58:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-08 11:52:56 +0000
commit9f3246522ccb2138aed86f39d25f8a4f7a489559 (patch)
tree7f9c4f0f418a98797b95ca78f3d4eefb927eb71b /meta/recipes-devtools/perl
parentfc6c81da79897c95a9c81960a1dee49517f2562a (diff)
downloadpoky-9f3246522ccb2138aed86f39d25f8a4f7a489559.tar.gz
meta: start to ignore the largefile distro feature
The largefile distro feature has been enabled by default in oe-core for a long time and, more recently, also in poky-tiny. Building without the largefile distro feature receives little or no testing. Many packages now enable LFS without exposing a configure option, so there should be very little expectation that disabling the distro feature will result in a distro which globally disables LFS. Respecting the distro feature adds a maintenance over-head and may be the source of configurations oddities (e.g. dbus-native currently builds with LFS disabled for no clear reason - fixed by this commit). Ignore the largefile distro feature more widely, as a first step towards deprecating and eventually removing it. (From OE-Core rev: a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb13
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 147e151d74..cf7a8e1218 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -99,17 +99,6 @@ LDFLAGS_append = " -fstack-protector"
99# We're almost Debian, aren't we? 99# We're almost Debian, aren't we?
100CFLAGS += "-DDEBIAN" 100CFLAGS += "-DDEBIAN"
101 101
102do_nolargefile() {
103 sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \
104 -e "s,\(d_readdir64_r=\)'define',\1'undef',g" \
105 -e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \
106 -e "/ccflags_uselargefiles/d" \
107 -e "s/-Duselargefiles//" \
108 -e "s/-D_FILE_OFFSET_BITS=64//" \
109 -e "s/-D_LARGEFILE_SOURCE//" \
110 ${S}/Cross/config.sh-${TARGET_ARCH}-${TARGET_OS}
111}
112
113do_configure() { 102do_configure() {
114 # Make hostperl in build directory be the native perl 103 # Make hostperl in build directory be the native perl
115 ln -sf ${HOSTPERL} hostperl 104 ln -sf ${HOSTPERL} hostperl
@@ -182,8 +171,6 @@ do_configure() {
182 config.sh-${TARGET_ARCH}-${TARGET_OS} 171 config.sh-${TARGET_ARCH}-${TARGET_OS}
183 fi 172 fi
184 173
185 ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '', 'do_nolargefile', d)}
186
187 # Update some paths in the configuration 174 # Update some paths in the configuration
188 sed -i -e 's,@ARCH@-thread-multi,,g' \ 175 sed -i -e 's,@ARCH@-thread-multi,,g' \
189 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ 176 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \