void-packages/srcpkgs/helm/patches/kill-simdflags.patch
q66 74892dabf3 helm: get rid of simdflags
The distro is in control over that, not the project.
2019-12-19 03:50:48 +01:00

21 lines
524 B
Diff

--- Makefile
+++ 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)