1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/graphics/png/files/patch-configure
Piotr Kubaj baa42c91f3 graphics/png: add SIMD option
It's enabled by default on aarch64, amd64 and powerpc64le, which should have optimizations that are enabled in their baselines (NEON, SSE2 and VSX respectively).

PR:             251173
Approved by:    antoine@ (maintainer)
2021-01-30 11:54:43 +00:00

12 lines
353 B
Plaintext

--- configure.orig 2021-01-21 14:33:24 UTC
+++ configure
@@ -13533,7 +13533,7 @@ $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
$as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
;;
- i?86|x86_64)
+ i?86|x86_64|amd64)
enable_intel_sse=yes
$as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h