Skip to content

Commit

Permalink
added lzma and lbz2 flags to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremiah Wala authored and Jeremiah Wala committed Mar 1, 2019
1 parent e9a82f6 commit e91ab4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -4843,7 +4843,7 @@ AM_CXXFLAGS="-g -Wall -Wextra $fail_on_warning -Wno-unknown-pragmas -std=c++11 -
##AC_SUBST(CXXFLAGS, "-O3")
##AC_SUBST(CFLAGS, "-O3")
##AC_SUBST(CPPFLAGS, "$CPPFLAGS $boost_include")
LDFLAGS="$LDFLAGS -pthread -std=c++11 -lbz2 -llzma"
LDFLAGS="$LDFLAGS -pthread -std=c++11"
# We always need to specify to link to certain libraries
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ AC_SUBST(AM_CXXFLAGS, "-g -Wall -Wextra $fail_on_warning -Wno-unknown-pragmas -s
##AC_SUBST(CXXFLAGS, "-O3")
##AC_SUBST(CFLAGS, "-O3")
##AC_SUBST(CPPFLAGS, "$CPPFLAGS $boost_include")
AC_SUBST(LDFLAGS, "$LDFLAGS -pthread -std=c++11 -lbz2 -llzma")
AC_SUBST(LDFLAGS, "$LDFLAGS -pthread -std=c++11")

# We always need to specify to link to certain libraries
##AC_SUBST(LIBS, "$LIBS") # libboost_regex.a libboost_filesystem.a libboost_system.a")
Expand Down
3 changes: 2 additions & 1 deletion src/svaba/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ svaba_LDADD = \
$(top_builddir)/SeqLib/src/libseqlib.a \
$(top_builddir)/SeqLib/bwa/libbwa.a \
$(top_builddir)/SeqLib/htslib/libhts.a \
$(top_builddir)/SeqLib/fermi-lite/libfml.a
$(top_builddir)/SeqLib/fermi-lite/libfml.a \
-llzma -lbz2 -lz

##svaba_LDFLAGS = -pthread -std=c++11

Expand Down
3 changes: 2 additions & 1 deletion src/svaba/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ svaba_LDADD = \
$(top_builddir)/SeqLib/src/libseqlib.a \
$(top_builddir)/SeqLib/bwa/libbwa.a \
$(top_builddir)/SeqLib/htslib/libhts.a \
$(top_builddir)/SeqLib/fermi-lite/libfml.a
$(top_builddir)/SeqLib/fermi-lite/libfml.a \
-llzma -lbz2 -lz

svaba_SOURCES = run_svaba.cpp BreakPoint.cpp AlignedContig.cpp AlignmentFragment.cpp \
DiscordantCluster.cpp DBSnpFilter.cpp PONFilter.cpp \
Expand Down

0 comments on commit e91ab4b

Please sign in to comment.