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.
This commit is contained in:
Jürgen Buchmüller 2018-02-26 12:28:03 +01:00
parent bd62806305
commit e09cf703b9
1 changed files with 3 additions and 0 deletions

View File

@ -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