- Fix breakage on 9-STABLE due to GCC changes in r260075

PR:		ports/185657
Submitted by:	Helge Oldach <ports-libvpx-jan14 at oldach.net>
This commit is contained in:
Ashish SHUKLA 2014-01-12 16:08:27 +00:00
parent 048096ccdd
commit a04d8f3d28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339519

View File

@ -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