Do not build with -msse
This commit is contained in:
parent
4fb7756367
commit
d5f55aa88b
1 changed files with 12 additions and 4 deletions
16
debian/patches/0002-Buildsystem.patch
vendored
16
debian/patches/0002-Buildsystem.patch
vendored
|
@ -39,17 +39,25 @@ Last-Update: 2016-02-24
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
# use the sysinfo compatibility library on bsd
|
# use the sysinfo compatibility library on bsd
|
||||||
find_package(Libsysinfo REQUIRED)
|
find_package(Libsysinfo REQUIRED)
|
||||||
@@ -354,6 +373,10 @@
|
@@ -346,15 +365,11 @@
|
||||||
-msse2)
|
PUBLIC
|
||||||
endif()
|
HAVE_OBSCONFIG_H)
|
||||||
|
|
||||||
|
-if(NOT MSVC)
|
||||||
|
- target_compile_options(libobs
|
||||||
|
- PUBLIC
|
||||||
|
- -mmmx
|
||||||
|
- -msse
|
||||||
|
- -msse2)
|
||||||
+if(UNIX)
|
+if(UNIX)
|
||||||
+ set_source_files_properties(${libobs_SOURCES} PROPERTIES
|
+ set_source_files_properties(${libobs_SOURCES} PROPERTIES
|
||||||
+ COMPILE_FLAGS "-fvisibility=hidden")
|
+ COMPILE_FLAGS "-fvisibility=hidden")
|
||||||
+endif()
|
endif()
|
||||||
|
|
||||||
|
-
|
||||||
target_compile_options(libobs
|
target_compile_options(libobs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
|
"${THREADS_DEFINITIONS}")
|
||||||
--- a/obs/CMakeLists.txt
|
--- a/obs/CMakeLists.txt
|
||||||
+++ b/obs/CMakeLists.txt
|
+++ b/obs/CMakeLists.txt
|
||||||
@@ -81,16 +81,13 @@
|
@@ -81,16 +81,13 @@
|
||||||
|
|
Loading…
Reference in a new issue