Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 21:51:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493468 - head/multimedia/svt-av1
Message-ID:  <201902202151.x1KLpAc1026538@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Feb 20 21:51:09 2019
New Revision: 493468
URL: https://svnweb.freebsd.org/changeset/ports/493468

Log:
  multimedia/svt-av1: respect CPUTYPE in AVX2 sources

Modified:
  head/multimedia/svt-av1/Makefile   (contents, props changed)

Modified: head/multimedia/svt-av1/Makefile
==============================================================================
--- head/multimedia/svt-av1/Makefile	Wed Feb 20 21:50:56 2019	(r493467)
+++ head/multimedia/svt-av1/Makefile	Wed Feb 20 21:51:09 2019	(r493468)
@@ -31,6 +31,8 @@ post-patch:
 		-e 's/CMAKE_C_FLAGS "/&$${CMAKE_C_FLAGS} /' \
 		-e '/C_FLAGS_(RELEASE|DEBUG)/d' \
 		${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -i .flags -e 's/-march=core-avx2/-mavx2/' \
+		${WRKSRC}/Source/Lib/ASM_AVX2/CMakeLists.txt \
 # Avoid lang/gcc* dependency
 	@${REINPLACE_CMD} -i .gcc -e 's/gcc-//' \
 		-e '/CMAKE_C/{ s/STREQUAL/MATCHES/; s/"GNU/&|Clang/; }' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902202151.x1KLpAc1026538>