Skip to content

Commit

Permalink
multimedia/obs-ndi: Remove march=core2 in CMakeLists.txt.
Browse files Browse the repository at this point in the history
march=core2 isn't valid on several x86/non x86 platforms and causes build failures.

PR:		259171
Approved by:	yuri (maintainer)
  • Loading branch information
MikaelUrankar committed Oct 18, 2021
1 parent d155716 commit ac002c6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions multimedia/obs-ndi/Makefile
@@ -1,5 +1,6 @@
PORTNAME= obs-ndi
DISTVERSION= 4.9.1
PORTREVISION= 1
CATEGORIES= multimedia

MAINTAINER= yuri@FreeBSD.org
Expand Down
11 changes: 11 additions & 0 deletions multimedia/obs-ndi/files/patch-CMakeLists.txt
@@ -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)

0 comments on commit ac002c6

Please sign in to comment.