Rework zlib patch

This commit is contained in:
bloch@verdurin.com 2015-03-01 22:46:23 +00:00
parent c6f5947946
commit 8c347c0731
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
--- mmseq_0.9.18/Makefile 2011-12-16 14:44:46.000000000 +0000
+++ mmseq_0.9.18.new/Makefile 2012-01-11 15:03:03.091319510 +0000
--- mmseq_0.9.18/src/Makefile 2011-12-16 14:44:46.000000000 +0000
+++ mmseq_0.9.18.new/src/Makefile 2012-01-11 15:03:03.091319510 +0000
@@ -11,7 +11,7 @@
CC = gcc
CXX = g++
LIBS = -lgsl -lgslcblas
-LIBS_B2H = -lboost_regex -lbam -lz
+LIBS_B2H = -lboost_regex -lbam -Wl,--as-needed -lz
-LIBS = -lgsl -lgslcblas -lboost_regex -lbam -lboost_iostreams -lz -llapack -lblas -lgfortran
+LIBS = -lgsl -lgslcblas -lboost_regex -lbam -lboost_iostreams -llapack -lblas -lgfortran -Wl,--as-needed -lz
OMP = -fopenmp
OPT = -O3
OPTSAFE = -O2