emacs: disable nativecomp on 32-bit ppc

This commit is contained in:
q66 2022-04-17 05:25:00 +02:00
parent e4cc32f921
commit 8a7eb20ce3

View file

@ -39,9 +39,15 @@ desc_option_m17n="Enable support for m17n multilingual text processing"
desc_option_nativecomp="Enable support for native compilation"
desc_option_sound="Enable support for sound"
desc_option_xpm="Enable support for XPM images"
build_options_default="cairo gif gmp gnutls harfbuzz jpeg json m17n nativecomp
build_options_default="cairo gif gmp gnutls harfbuzz jpeg json m17n
png sound svg tiff xml xpm"
case "$XBPS_TARGET_MACHINE" in
ppc64*) build_options_default+=" nativecomp";;
ppc*) ;; # assembler errors
*) build_options_default+=" nativecomp";;
esac
pre_configure() {
# Just configuring in different directories results in
# spurious emacs rebuilds with incompatible build numbers.