mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
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.
|
|
--- a/apps/Makefile
|
|
+++ b/apps/Makefile
|
|
@@ -55,8 +55,8 @@
|
|
|
|
|
|
install: all
|
|
- install -d $(BINDIR)
|
|
- install -d $(MANDIR)
|
|
+ install -d $(DESTDIR)$(BINDIR)
|
|
+ install -d $(DESTDIR)$(MANDIR)
|
|
install -m 755 zresample $(DESTDIR)$(BINDIR)
|
|
install -m 755 zretune $(DESTDIR)$(BINDIR)
|
|
install -m 644 zresample.1.gz $(DESTDIR)$(MANDIR)
|
|
--- a/source/Makefile
|
|
+++ b/source/Makefile
|
|
@@ -31,9 +31,7 @@
|
|
DISTDIR = zita-resampler-$(VERSION)
|
|
|
|
CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
|
|
-CPPFLAGS += -DENABLE_SSE2
|
|
-CXXFLAGS += -Wall -fPIC -O2 -ffast-math
|
|
-CXXFLAGS += -march=native
|
|
+CXXFLAGS += -Wall -fPIC -O2
|
|
LDFLAGS +=
|
|
LDLIBS +=
|
|
|
|
@@ -58,7 +56,6 @@
|
|
install -d $(DESTDIR)$(LIBDIR)
|
|
install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler
|
|
install -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
|
|
- ldconfig
|
|
ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO)
|
|
|
|
uninstall:
|