200bed5c06
```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 ```
21 lines
528 B
Diff
21 lines
528 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -18,18 +18,6 @@ ifdef DPKG
|
|
PDEBLDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
|
|
endif
|
|
|
|
-MACHINE := $(shell sh -c 'uname -m 2> /dev/null || echo not')
|
|
-ifneq (,$(findstring aarch,$(MACHINE)))
|
|
- SIMDFLAGS := -march=armv8-a -mtune=cortex-a53
|
|
-else
|
|
-ifneq (,$(findstring arm,$(MACHINE)))
|
|
- SIMDFLAGS := -march=armv8-a -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
|
-else
|
|
- SIMDFLAGS := -msse2
|
|
-endif
|
|
-endif
|
|
-
|
|
-
|
|
PROGRAM = helm
|
|
BIN = $(DESTDIR)/usr/bin
|
|
BINFILE = $(BIN)/$(PROGRAM)
|