Unbreak png on powerpc64 by passing -mvsx
Diff from Brad Smith, edited by me
This commit is contained in:
parent
e2fe847a63
commit
962973c019
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user