Unbreak png on powerpc64 by passing -mvsx

Diff from Brad Smith, edited by me
This commit is contained in:
gkoehler 2022-08-01 15:00:04 +00:00
parent e2fe847a63
commit 962973c019

View File

@ -28,6 +28,12 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+= --enable-hardware-optimizations
.endif
# Enable VSX to prevent #error "This code requires VSX..." in
# powerpc/filter_vsx_intrinsics.c
.if ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -mvsx
.endif
DEBUG_PACKAGES = ${BUILD_PACKAGES}
post-install: