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:
parent
d1557166da
commit
ac002c6ed2
@ -1,5 +1,6 @@
|
||||
PORTNAME= obs-ndi
|
||||
DISTVERSION= 4.9.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
11
multimedia/obs-ndi/files/patch-CMakeLists.txt
Normal file
11
multimedia/obs-ndi/files/patch-CMakeLists.txt
Normal 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)
|
Loading…
Reference in New Issue
Block a user