diff --git a/srcpkgs/libgcrypt/template b/srcpkgs/libgcrypt/template index 4c8f5c5cc26..650f022ad7a 100644 --- a/srcpkgs/libgcrypt/template +++ b/srcpkgs/libgcrypt/template @@ -12,9 +12,9 @@ homepage="https://www.gnupg.org" distfiles="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2" checksum=03b70f028299561b7034b8966d7dd77ef16ed139c43440925fe8782561974748 -case "$XBPS_TARGET_MACHINE" in - ppc|ppc-musl) configure_args+=" ac_cv_sys_symbol_underscore=no" ;; -esac +if [ "$CROSS_BUILD" ]; then + configure_args+=" ac_cv_sys_symbol_underscore=no" +fi post_configure() { case "$XBPS_TARGET_MACHINE" in