SDL2: Enable build options and disable altivec on ppc
This commit is contained in:
parent
c75dac5fb1
commit
91672a12c9
|
@ -20,7 +20,7 @@ checksum=255186dc676ecd0c1dbf10ec8a2cc5d6869b5079d8a38194c2aecdff54b324b1
|
|||
build_options="gles opengl pulseaudio sndio wayland x11 vulkan"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*|ppc64*)
|
||||
i686*|x86_64*|ppc*)
|
||||
build_options_default="opengl pulseaudio x11 vulkan"
|
||||
;;
|
||||
aarch64*)
|
||||
|
@ -34,7 +34,7 @@ esac
|
|||
|
||||
# SDL_cpuinfo includes altivec.h, which breaks C++ programs with vector keyword
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) configure_args+=" --disable-altivec";;
|
||||
ppc*) configure_args+=" --disable-altivec";;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue