4b97cd2fb4
```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 ```
14 lines
250 B
Diff
14 lines
250 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -68,11 +68,6 @@
|
|
set(MINIMAL_BUILD_FLAGS "-DMINIMAL_BUILD")
|
|
endif()
|
|
|
|
-if(MUSL_OPTIMIZED_BUILD)
|
|
- set(SYSDIG_MUSL_FLAGS "-static -Os")
|
|
-endif()
|
|
-
|
|
-
|
|
if(NOT WIN32)
|
|
|
|
set(SYSDIG_DEBUG_FLAGS "-D_DEBUG")
|