1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

multimedia/obs-ndi: Remove march=core2 in CMakeLists.txt.

march=core2 isn't valid on several x86/non x86 platforms and causes build failures.

PR:		259171
Approved by:	yuri (maintainer)
This commit is contained in:
Mikael Urankar 2021-10-18 12:42:26 +02:00
parent d1557166da
commit ac002c6ed2
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= obs-ndi
DISTVERSION= 4.9.1
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2020-05-14 10:29:22 UTC
+++ CMakeLists.txt
@@ -153,7 +153,7 @@ endif()
if(UNIX AND NOT APPLE)
include(GNUInstallDirs)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -mtune=core2 -Ofast")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Ofast")
set_target_properties(obs-ndi PROPERTIES PREFIX "")
target_link_libraries(obs-ndi obs-frontend-api)