diff options
Diffstat (limited to 'multimedia/libdvbcsa')
-rw-r--r-- | multimedia/libdvbcsa/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/multimedia/libdvbcsa/Makefile b/multimedia/libdvbcsa/Makefile index e1e80286c834..6327465c50de 100644 --- a/multimedia/libdvbcsa/Makefile +++ b/multimedia/libdvbcsa/Makefile @@ -18,6 +18,14 @@ INSTALL_TARGET= install-strip USES= libtool USE_LDCONFIG= yes +.include <bsd.port.options.mk> + +# 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 defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2} CONFIGURE_ARGS+=--enable-sse2 .elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} |