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