Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
1 parent
d155716
commit ac002c6
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
PORTNAME= obs-ndi | ||
DISTVERSION= 4.9.1 | ||
PORTREVISION= 1 | ||
CATEGORIES= multimedia | ||
|
||
MAINTAINER= yuri@FreeBSD.org | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |