[med-svn] [freebayes] 01/03: compile as C++11

Fabian Klötzl kloetzl-guest at moszumanska.debian.org
Mon Sep 4 13:17:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

kloetzl-guest pushed a commit to branch master
in repository freebayes.

commit 4e4b8d1ab0a1a72ca7338c5402eb660f2f97d690
Author: Fabian Klötzl <fabian at kloetzl.info>
Date:   Mon Sep 4 14:45:43 2017 +0200

    compile as C++11
---
 debian/patches/series          |  1 +
 debian/patches/use_cpp11.patch | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 3052e50..2b2a98d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ use_debian_packaged_seqlib.patch
 use_debian_packaged_libjsoncpp.patch
 fix_test.patch
 vcffirstheader.patch
+use_cpp11.patch
diff --git a/debian/patches/use_cpp11.patch b/debian/patches/use_cpp11.patch
new file mode 100644
index 0000000..47446e2
--- /dev/null
+++ b/debian/patches/use_cpp11.patch
@@ -0,0 +1,21 @@
+From: Fabian Klötzl <fabian at kloetzl.info>
+Date: Mon, 4 Sep 2017 12:05:00 +0200
+Description: Compile as C++11
+
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 15a6da6..7b3b35a 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -9,7 +9,7 @@ CXX=g++
+ C=gcc
+ 
+ # Compiler flags
+-CFLAGS=-O3 -D_FILE_OFFSET_BITS=64 -g
++CFLAGS=-O3 -D_FILE_OFFSET_BITS=64 -g -std=gnu++11
+ #CFLAGS=-O3 -static -D VERBOSE_DEBUG  # enables verbose debugging via --debug2
+ 
+ LIBS = -lbamtools -ltabixpp -lz -lm -lpthread `pkg-config --libs libvcflib` `pkg-config --libs htslib` `pkg-config --libs libseqlib` `pkg-config --libs jsoncpp`

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/freebayes.git



More information about the debian-med-commit mailing list