diff --git a/srcpkgs/glib/template b/srcpkgs/glib/template index adc798eae1..7edfda14ac 100644 --- a/srcpkgs/glib/template +++ b/srcpkgs/glib/template @@ -15,6 +15,10 @@ checksum=be68737c1f268c05493e503b3b654d2b7f43d7d0b8c5556f7e4651b870acfbf5 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" glib-devel" + case "$XBPS_TARGET_MACHINE" in + mips*) # It seems common/environment/configure/autoconf_cache/mips-linux is not read? + configure_args+=" glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no glib_cv_uscore=no" ;; + esac fi pre_configure() {