SDL2: Enable build options and disable altivec on ppc
This commit is contained in:
parent
c75dac5fb1
commit
91672a12c9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue