aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libvpx
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2014-01-12 16:08:27 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2014-01-12 16:08:27 +0000
commita04d8f3d2871b8bf069ed7b1e690fb1c0646d101 (patch)
tree0c169f42f06239ee194facf6b99972b7a4354511 /multimedia/libvpx
parent048096ccddeb502a4abac4722728ddc2e36776e7 (diff)
- Fix breakage on 9-STABLE due to GCC changes in r260075
PR: ports/185657 Submitted by: Helge Oldach <ports-libvpx-jan14 at oldach.net>
Notes
Notes: svn path=/head/; revision=339519
Diffstat (limited to 'multimedia/libvpx')
-rw-r--r--multimedia/libvpx/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index efa411c5267f..1224f9f98088 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -55,6 +55,12 @@ USE_GCC= yes
.endif
.endif
+# Workaround for GCC in 9.x post r260075
+# OSVERSION taken from r260135, the closest OSVERSION
+.if ${OSVERSION} > 902505 && ${OSVERSION} < 1000000
+CFLAGS+= -flax-vector-conversions
+.endif
+
.if ${OSVERSION} >= 1000000
CONFIGURE_ARGS+= --disable-unit-tests
.endif