summaryrefslogtreecommitdiffstats
path: root/package/postgresql/postgresql.service
diff options
context:
space:
mode:
authorErico Nunes <nunes.erico@gmail.com>2016-10-25 23:21:09 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-26 22:34:18 +0200
commit9687e7435b76707afcf8b9aef15c98ea5287da75 (patch)
treed77f57d3a00b5531ae4249b3d30a7cf7683025ef /package/postgresql/postgresql.service
parent4bca88c839e54a9140c06010666f5e034127b8b1 (diff)
downloadbuildroot-9687e7435b76707afcf8b9aef15c98ea5287da75.tar.gz
buildroot-9687e7435b76707afcf8b9aef15c98ea5287da75.zip
perl: update cnf/config.{sub, guess} using autotools hook
perl may fail to build on newer host architectures such as aarch64 due to its inability to guess the host architecture to build 'miniperl', which is built during the process. An error message looks like this: Configuring build-time miniperl for unknown ERROR: No $target defined (?!) ERROR: configure --mode=buildmini failed This happens because the config.sub and config.guess files from perl are not modified and may become outdated. These files are normally updated automatically by a Buildroot hook for autotools packages, to avoid problems like these. Although perl uses the config.sub and config.guess files, it is not a strict autotools package, so it is not defined as an "autotools-package" in Buildroot and so it doesn't inherit the hook. This commit makes perl borrow the hook from the autotools infrastructure so that it can build on newer build architectures. This has been tested by building it on an aarch64 host machine. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/postgresql.service')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud