SDL2: Enable build options and disable altivec on ppc

This commit is contained in:
Thomas Batten 2019-01-23 10:17:37 +10:30 committed by maxice8
parent c75dac5fb1
commit 91672a12c9

View file

@ -20,7 +20,7 @@ checksum=255186dc676ecd0c1dbf10ec8a2cc5d6869b5079d8a38194c2aecdff54b324b1
build_options="gles opengl pulseaudio sndio wayland x11 vulkan" build_options="gles opengl pulseaudio sndio wayland x11 vulkan"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*) i686*|x86_64*|ppc*)
build_options_default="opengl pulseaudio x11 vulkan" build_options_default="opengl pulseaudio x11 vulkan"
;; ;;
aarch64*) aarch64*)
@ -34,7 +34,7 @@ esac
# SDL_cpuinfo includes altivec.h, which breaks C++ programs with vector keyword # SDL_cpuinfo includes altivec.h, which breaks C++ programs with vector keyword
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
ppc64*) configure_args+=" --disable-altivec";; ppc*) configure_args+=" --disable-altivec";;
*) ;; *) ;;
esac esac