forked from pool/slade
Jan Engelhardt
69efd317af
- Refresh patch to fix build on aarch64: * disable_sse.patch OBS-URL: https://build.opensuse.org/request/show/900154 OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=40
13 lines
526 B
Diff
13 lines
526 B
Diff
--- SLADE-3.1.13/src/CMakeLists.txt.orig 2021-06-15 14:13:13.473287606 +0200
|
|
+++ SLADE-3.1.13/src/CMakeLists.txt 2021-06-15 14:13:28.233451010 +0200
|
|
@@ -159,9 +159,6 @@ if(APPLE)
|
|
set_source_files_properties(${OSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
|
endif(APPLE)
|
|
|
|
-# enable SSE instructions for dumb library
|
|
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_USE_SSE -msse")
|
|
-
|
|
if(USE_SANITIZER)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
|