Commit c28a6bf4 authored by Andreas Tille's avatar Andreas Tille
Browse files

Do not enforce -std=c++98 to stay compatible with google sparsehash library

parent 54a5955d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ sga (0.10.15-5) UNRELEASED; urgency=medium
  * debian/copyright: use spaces rather than tabs to start continuation
    lines.
  * Set upstream metadata fields: Repository.
  * Do not enforce -std=c++98 to stay compatible with google sparsehash
    library (thanks for the hint to Yavor Doganov <yavor@gnu.org>)

 -- Andreas Tille <tille@debian.org>  Mon, 02 Sep 2019 20:18:33 +0200

+17 −0
Original line number Diff line number Diff line
Description: Do not enforce -std=c++98 to stay compatible with google sparsehash
    library (thanks for the hint to Yavor Doganov <yavor@gnu.org>)
Author: Yavor Doganov <yavor@gnu.org>
Date: Fri, 13 Sep 2019 18:55:05 +0300
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938472#22

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -92,7 +92,7 @@ fi
 
 # Set compiler flags.
 AC_SUBST(AM_CXXFLAGS, "-Wall -Wextra $fail_on_warning -Wno-unknown-pragmas")
-AC_SUBST(CXXFLAGS, "-std=c++98 -O3")
+# AC_SUBST(CXXFLAGS, "-std=c++98 -O3")
 AC_SUBST(CFLAGS, "-std=gnu99 -O3")
 AC_SUBST(CPPFLAGS, "$CPPFLAGS $openmp_cppflags $sparsehash_include $bamtools_include")
 AC_SUBST(LDFLAGS, "$openmp_cppflags $external_malloc_ldflags $bamtools_ldflags $LDFLAGS")
+1 −0
Original line number Diff line number Diff line
@@ -7,3 +7,4 @@
gcc-7.patch
no_privacy_breach_url.patch
2to3.patch
no_enforcing_c++98.patch