Explorar o código

build: Disable C++ exceptions for dselect

Guillem Jover %!s(int64=10) %!d(string=hai) anos
pai
achega
568d1c9048
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 1 0
      debian/changelog
  2. 3 1
      dselect/Makefile.am

+ 1 - 0
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 the __progname check to avoid the optimizer discarding the symbol.
     - Fix M4sh/Autoconf coding style. Add a new section to coding-style.txt
     - Fix M4sh/Autoconf coding style. Add a new section to coding-style.txt
       describing M4sh/Autoconf.
       describing M4sh/Autoconf.
+    - Disable C++ exceptions for dselect.
 
 
   [ Updated manpages translations ]
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
   * German (Helge Kreutzmann).

+ 3 - 1
dselect/Makefile.am

@@ -14,7 +14,9 @@ AM_CPPFLAGS = \
 	-I$(top_builddir) \
 	-I$(top_builddir) \
 	-I$(top_srcdir)/lib
 	-I$(top_srcdir)/lib
 AM_CXXFLAGS = \
 AM_CXXFLAGS = \
-	-fno-rtti
+	-fno-rtti \
+	-fno-exceptions \
+	$(nil)
 
 
 
 
 bin_PROGRAMS = dselect
 bin_PROGRAMS = dselect