tabix (0.2.5-3) UNRELEASED; urgency=low
- * debian/patches/ld-as-needed.patch: Enable building with --as-needed
- (Thanks to David Shorten <dpshorten@gmail.com> for the patch)
- Closes: #632150
* debian/patches/use-dpkg-buildflags.patch: Really enable hardening
build flags (Thanks for the patch to Simon Ruderich <simon@ruderich.org>)
Closes: #670759
+ * debian/patches/ld-as-needed.patch: Enable building with --as-needed
+ (Thanks to David Shorten <dpshorten@gmail.com> for the patch)
+ Closes: #632150
-- Andreas Tille <tille@debian.org> Fri, 11 May 2012 13:32:56 +0200
Last-Update: 2011-06-30
--- tabix.orig/Makefile
+++ tabix/Makefile
-@@ -38,7 +38,7 @@
+@@ -41,7 +41,7 @@
$(AR) -cru $@ $(LOBJS)
tabix:lib $(AOBJS)
-- $(CC) $(CFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) -lz -L. -ltabix
-+ $(CC) $(CFLAGS) -o $@ $(AOBJS) -L. -ltabix -lm $(LIBPATH) -lz
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) -lz -L. -ltabix
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(AOBJS) -L. -ltabix -lm $(LIBPATH) -lz
bgzip:bgzip.o bgzf.o knetfile.o
- $(CC) $(CFLAGS) -o $@ bgzip.o bgzf.o knetfile.o -lz
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bgzip.o bgzf.o knetfile.o -lz