瀏覽代碼

build: Disable C++ exceptions for dselect

Guillem Jover 9 年之前
父節點
當前提交
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