  uninstall:
  	/bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler
 -- 
-2.9.4
+2.14.3
 

 $(ZRESAMPLE_O):
 -include $(ZRESAMPLE_O:%.o=%.d)
 
@@ -44,7 +43,7 @@ $(ZRESAMPLE_O):
 ZRETUNE_O = zretune.o audiofile.o dither.o
 zretune:	LDLIBS += -lzita-resampler -lsndfile -lrt
 zretune:	$(ZRETUNE_O)

* don't hardcode g++
* remove -march=native from CXXFLAGS
* make ldconfig work on installed directory only
* do not add host path to link flags

Upstream-Status: Pending

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 apps/Makefile | 6 ++----
 libs/Makefile | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/apps/Makefile b/apps/Makefile
index f009937..9329b25 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -24,10 +24,8 @@ LIBDIR = lib$(SUFFIX)
 DISTDIR = zresample-$(VERSION)
 VERSION = 1.6.0
 MANDIR = /usr/share/man/man1
-LDFLAGS += -L$(PREFIX)/$(LIBDIR)
 CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
 CXXFLAGS += -O3  -ffast-math -Wall
-CXXFLAGS += -march=native
 
 
 all:	zresample zretune zresample.1.gz zretune.1.gz
@@ -36,7 +34,7 @@ all:	zresample zretune zresample.1.gz zretune.1.gz
 ZRESAMPLE_O = zresample.o audiofile.o dither.o
 zresample:	LDLIBS += -lzita-resampler -lsndfile -lrt
 zresample:	$(ZRESAMPLE_O)
