From 115fa950d346d65d121eeb3efcee03c602bcde6f 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) --- configure | 5 ++--- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 99e2699ef..625d3a0ca 100755 --- a/configure +++ b/configure @@ -1345,8 +1345,7 @@ Optional Packages: and update checks --without-lz4 do not use lz4 --without-zstd do not use zstd - --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 @@ -4754,7 +4753,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 62656f837..6c32d6c39 100644 --- a/configure.in +++ b/configure.in @@ -266,8 +266,8 @@ if test "$HAS_TABLEAM" == 'yes'; then fi # test "$HAS_TABLEAM" == 'yes' -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