[dpkg] 08/187: build: Disable C++ exceptions for dselect

Reiner Herrmann reiner at reiner-h.de
Sun Nov 6 12:46:18 UTC 2016


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

deki-guest pushed a commit to branch master
in repository dpkg.

commit 568d1c90483e3b04977107b51afdc088d2b032c2
Author: Guillem Jover <guillem at debian.org>
Date:   Wed Sep 7 04:12:21 2016 +0200

    build: Disable C++ exceptions for dselect
---
 debian/changelog    | 1 +
 dselect/Makefile.am | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c250b4f..1ab8b88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
     - Fix the __progname check to avoid the optimizer discarding the symbol.
     - Fix M4sh/Autoconf coding style. Add a new section to coding-style.txt
       describing M4sh/Autoconf.
+    - Disable C++ exceptions for dselect.
 
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
diff --git a/dselect/Makefile.am b/dselect/Makefile.am
index 5a650ad..3d46643 100644
--- a/dselect/Makefile.am
+++ b/dselect/Makefile.am
@@ -14,7 +14,9 @@ AM_CPPFLAGS = \
 	-I$(top_builddir) \
 	-I$(top_srcdir)/lib
 AM_CXXFLAGS = \
-	-fno-rtti
+	-fno-rtti \
+	-fno-exceptions \
+	$(nil)
 
 
 bin_PROGRAMS = dselect

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



More information about the Reproducible-commits mailing list