From e09cf703b9db551ea9c49e072d74dc6572832f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 26 Feb 2018 12:28:03 +0100 Subject: [PATCH] pkg-config: fix mips* build The autoconf cache presets for glib_cv_stack_grows and glib_cv_uscore don't work for all mips* targets thus add them to configure_args. --- srcpkgs/pkg-config/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/pkg-config/template b/srcpkgs/pkg-config/template index 1480114a6c4..a0e5779dc94 100644 --- a/srcpkgs/pkg-config/template +++ b/srcpkgs/pkg-config/template @@ -14,3 +14,6 @@ license="GPL-2" distfiles="http://pkgconfig.freedesktop.org/releases/$pkgname-$version.tar.gz" checksum=6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591 +case "$XBPS_TARGET_MACHINE" in + mips*) configure_args+=" glib_cv_stack_grows=no glib_cv_uscore=no" ;; +esac