void-packages/srcpkgs/yabause-gtk/patches/fix-cflags.patch

14 lines
521 B
Diff

Index: src/CMakeLists.txt
===================================================================
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -659,7 +659,7 @@ else ()
set(yabause_SOURCES ${yabause_SOURCES} sock-dummy.c thr-dummy.c)
endif ()
-set(YAB_OPTIMIZATION "-O3" CACHE STRING "Override optimization level")
+set(YAB_OPTIMIZATION "" CACHE STRING "Override optimization level")
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${YAB_OPTIMIZATION} -march=i686 -msse")