aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Florian Fainelli <f.fainelli@gmail.com>2018-11-28 21:05:40 -0800
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-03 23:02:07 +0100
commiteb2a89acb0266011267c9127a248cd048b0c0d6b (patch)
tree001870c2c2c875d86ee5d19771b53897be48fcef
parent7d708397a94d252644993fc09957fe944413d668 (diff)
downloadbuildroot-eb2a89acb0266011267c9127a248cd048b0c0d6b.tar.gz
buildroot-eb2a89acb0266011267c9127a248cd048b0c0d6b.tar.bz2
xfsprogs: Define PLATFORM to linux
PLATFORM is an environment variable used by xfsprogs' configure script to determine the platform for which the applications are being built. If we set some incorrect/unsupported value through e.g: export, this will be picked up by xfsprogs' configure script and used as-is and assigned to PKG_PLATFORM, which will lead to build failures. If PLATFORM was empty/unset, then uname on the host building xfsprogs gets used to determine the build platform, which again could be incorrect if we e.g: built xfsprogs on a Darwin system. Since we are obviously building for Linux, let's just make sure we define it that way which solves both issues. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 257a2118be2b0664e2b8dbda344a74443f70db86) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/xfsprogs/xfsprogs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/xfsprogs/xfsprogs.mk b/package/xfsprogs/xfsprogs.mk
index e6e8493684..7346df5614 100644
--- a/package/xfsprogs/xfsprogs.mk
+++ b/package/xfsprogs/xfsprogs.mk
@@ -12,7 +12,7 @@ XFSPROGS_LICENSE_FILES = doc/COPYING
XFSPROGS_DEPENDENCIES = util-linux
-XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes
+XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes PLATFORM="linux"
XFSPROGS_CONF_OPTS = \
--enable-lib64=no \
--enable-gettext=no \