fix building gnutls on apple platforms

This commit is contained in:
Taner Sener 2022-09-27 22:19:12 +01:00
parent 6f6e0fa3d1
commit b8fd5281a5

View File

@ -20,6 +20,9 @@ if [[ ! -f "${BASEDIR}"/src/"${LIB_NAME}"/configure ]] || [[ ${RECONF_gnutls} -e
./bootstrap || return 1
fi
# MASKING THE -march=all OPTION WHICH BREAKS THE BUILD ON NEWER XCODE VERSIONS
${SED_INLINE} "s|AM_CCASFLAGS =|#AM_CCASFLAGS=|g" "${BASEDIR}"/src/"${LIB_NAME}"/lib/accelerated/aarch64/Makefile.in
./configure \
--prefix="${LIB_INSTALL_PREFIX}" \
--with-pic \