From ccb63a27cf0f111f50c529385beb9d5eca0e9a1a Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Wed, 3 Mar 2021 12:51:16 +0300 Subject: [PATCH] Do not use security flags by default (#4770) (cherry picked from commit 697bbbd3c635e0fdb85463602af3004210084f71) Conflicts: configure --- configure | 5 ++--- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configure b/configure index a9b5d6e62..f86440ca2 100755 --- a/configure +++ b/configure @@ -1338,8 +1338,7 @@ Optional Packages: --with-reports-hostname=HOSTNAME Use HOSTNAME as hostname for statistics collection and update checks - --without-security-flags - do not use security flags + --with-security-flags use security flags Some influential environment variables: PG_CONFIG Location to find pg_config for target PostgreSQL instalation @@ -4547,7 +4546,7 @@ if test "${with_security_flags+set}" = set; then : esac else - with_security_flags=yes + with_security_flags=no fi diff --git a/configure.in b/configure.in index 7f2916ab6..1f21e1de9 100644 --- a/configure.in +++ b/configure.in @@ -217,8 +217,8 @@ AC_DEFINE_UNQUOTED(REPORTS_BASE_URL, "$REPORTS_BASE_URL", [Base URL for statistics collection and update checks]) -PGAC_ARG_BOOL(with, security-flags, yes, - [do not use security flags]) +PGAC_ARG_BOOL(with, security-flags, no, + [use security flags]) AC_SUBST(with_security_flags) if test "$with_security_flags" = yes; then