2024-11-27 19:03:40 +01:00
|
|
|
|
From: Jan Engelhardt <ej@inai.de>
|
|
|
|
|
Date: 2024-11-27 17:12:00 +0100
|
|
|
|
|
Original-Submitter: guillaume.gardet@opensuse.org
|
|
|
|
|
Original-Date: 2018-04-18 14:26:53
|
|
|
|
|
|
|
|
|
|
SSE is not guaranteed to be available on i586.
|
|
|
|
|
Testing the compiler for SSE availability is wrong — if anything,
|
|
|
|
|
the test needs to happen at runtime.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
cmake/unix.cmake | 5 -----
|
|
|
|
|
1 file changed, 5 deletions(-)
|
|
|
|
|
|
|
|
|
|
Index: SLADE-3.2.6/cmake/unix.cmake
|
|
|
|
|
===================================================================
|
|
|
|
|
--- SLADE-3.2.6.orig/cmake/unix.cmake
|
|
|
|
|
+++ SLADE-3.2.6/cmake/unix.cmake
|
|
|
|
|
@@ -150,11 +150,6 @@ endif(APPLE)
|
2024-11-27 17:03:11 +01:00
|
|
|
|
|
2024-11-27 19:03:40 +01:00
|
|
|
|
# Enable SSE instructions for dumb library
|
|
|
|
|
include(CheckCCompilerFlag)
|
|
|
|
|
-check_c_compiler_flag(-msse HAVE_SSE)
|
|
|
|
|
-if(HAVE_SSE)
|
|
|
|
|
- add_compile_options(-msse)
|
|
|
|
|
- add_definitions(-D_USE_SSE)
|
|
|
|
|
-endif()
|
|
|
|
|
|
|
|
|
|
# Enable debug symbols for glib (so gdb debugging works properly with strings etc.)
|
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|