]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Build with -fvisibility=hidden by default 11186/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Jan 2022 07:13:19 +0000 (08:13 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Jan 2022 07:13:49 +0000 (08:13 +0100)
Same as #11178, but now for rec.

pdns/recursordist/configure.ac

index c86b941a193cb48ef9c27f93c7edca095375ad85..c8bf30decd3532b72393aa9d0e98c4bbf9c7baef 100644 (file)
@@ -12,8 +12,8 @@ AC_CONFIG_HEADERS([config.h])
 
 AC_CANONICAL_HOST
 # Add some default CFLAGS and CXXFLAGS, can be appended to using the environment variables
-CFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -g -O2 $CFLAGS"
-CXXFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -g -O2 $CXXFLAGS"
+CFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CFLAGS"
+CXXFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CXXFLAGS"
 
 AC_SUBST([pdns_configure_args],["$ac_configure_args"])
 AC_DEFINE_UNQUOTED([PDNS_CONFIG_ARGS],