Package: c-ares / 1.17.1-1+deb11u3

disable-cflags-rewrite.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Gregor Jasny <gjasny@googlemail.com>
Description: Prevent autoconf from mangling passed cflags
 These flags are passed by dpkg-buildflags for hardening.
Forwarded: not-needed

--- a/configure.ac
+++ b/configure.ac
@@ -147,8 +147,8 @@
 
 CARES_CHECK_COMPILER
 CARES_SET_COMPILER_BASIC_OPTS
-CARES_SET_COMPILER_DEBUG_OPTS
-CARES_SET_COMPILER_OPTIMIZE_OPTS
+#CARES_SET_COMPILER_DEBUG_OPTS
+#CARES_SET_COMPILER_OPTIMIZE_OPTS
 CARES_SET_COMPILER_WARNING_OPTS
 
 if test "$compiler_id" = "INTEL_UNIX_C"; then