From d5f55aa88b6eef48571a377bb0cba5329a6aeda0 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 25 Feb 2016 20:41:52 +0100 Subject: [PATCH] Do not build with -msse --- debian/patches/0002-Buildsystem.patch | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/patches/0002-Buildsystem.patch b/debian/patches/0002-Buildsystem.patch index 262c7e7..350b056 100644 --- a/debian/patches/0002-Buildsystem.patch +++ b/debian/patches/0002-Buildsystem.patch @@ -39,17 +39,25 @@ Last-Update: 2016-02-24 if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") # use the sysinfo compatibility library on bsd find_package(Libsysinfo REQUIRED) -@@ -354,6 +373,10 @@ - -msse2) - endif() +@@ -346,15 +365,11 @@ + PUBLIC + HAVE_OBSCONFIG_H) +-if(NOT MSVC) +- target_compile_options(libobs +- PUBLIC +- -mmmx +- -msse +- -msse2) +if(UNIX) + set_source_files_properties(${libobs_SOURCES} PROPERTIES + COMPILE_FLAGS "-fvisibility=hidden") -+endif() + endif() +- target_compile_options(libobs PUBLIC + "${THREADS_DEFINITIONS}") --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -81,16 +81,13 @@