Просмотр исходного кода

build: Disable C++ exceptions for dselect

Guillem Jover лет назад: 9
Родитель
Сommit
568d1c9048
2 измененных файлов с 4 добавлено и 1 удалено
  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 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).

+ 3 - 1
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