git: ac002c6ed239 - main - multimedia/obs-ndi: Remove march=core2 in CMakeLists.txt.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Oct 2021 11:44:13 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac002c6ed239de60b6b1eea25400a032ea9de8ca commit ac002c6ed239de60b6b1eea25400a032ea9de8ca Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2021-10-18 10:42:26 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2021-10-18 11:43:57 +0000 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) --- multimedia/obs-ndi/Makefile | 1 + multimedia/obs-ndi/files/patch-CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/multimedia/obs-ndi/Makefile b/multimedia/obs-ndi/Makefile index 9607ca05c106..97304ff52748 100644 --- a/multimedia/obs-ndi/Makefile +++ b/multimedia/obs-ndi/Makefile @@ -1,5 +1,6 @@ PORTNAME= obs-ndi DISTVERSION= 4.9.1 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org diff --git a/multimedia/obs-ndi/files/patch-CMakeLists.txt b/multimedia/obs-ndi/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..94113e823907 --- /dev/null +++ b/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)