diff --git a/common/environment/configure/autoconf_cache/powerpc32-linux b/common/environment/configure/autoconf_cache/powerpc32-linux index 19c7920f256..0f461cdbc56 100644 --- a/common/environment/configure/autoconf_cache/powerpc32-linux +++ b/common/environment/configure/autoconf_cache/powerpc32-linux @@ -196,8 +196,10 @@ ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr='yes'} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int='4'} -#modphp -ac_cv_c_bigendian_php=${ac_cv_c_bigendian_php=yes} +#modphp +if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then + ac_cv_c_bigendian_php=${ac_cv_c_bigendian_php=yes} +fi ac_cv_sizeof_ptrdiff_t=${ac_cv_sizeof_ptrdiff_t=4} # apache2 (note other apache stanza in this file)