ad877a7e29
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
13 lines
521 B
Diff
13 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")
|