1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/testing/zita-resampler/patch-Makefile.patch
2025-04-14 21:14:36 +00:00

19 lines
603 B
Diff

Calls ldconfig which is not available and remove -march=native because it's not
portable across platforms.
Upstream: no, upstream author isn't cooperative.
diff --git a/source/Makefile b/source/Makefile
index f9f1d88..eef6a1a 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -31,10 +31,8 @@ VERSION = $(MAJVERS).$(MINVERS)
DISTDIR = zita-resampler-$(VERSION)
CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-CPPFLAGS += -DENABLE_SSE2
#CPPFLAGS += -DENABLE_NEON
-CXXFLAGS += -Wall -fPIC -O2 -ffast-math
-CXXFLAGS += -march=native
+CXXFLAGS += -Wall -fPIC -O2
LDFLAGS +=
LDLIBS +=