Do not use security flags by default (#4770)

pull/4756/head
Hanefi Onaldi 2021-03-03 12:51:16 +03:00 committed by GitHub
parent 1a05131331
commit 697bbbd3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

5
configure vendored
View File

@ -1345,8 +1345,7 @@ Optional Packages:
and update checks and update checks
--without-lz4 do not use lz4 --without-lz4 do not use lz4
--without-zstd do not use zstd --without-zstd do not use zstd
--without-security-flags --with-security-flags use security flags
do not use security flags
Some influential environment variables: Some influential environment variables:
PG_CONFIG Location to find pg_config for target PostgreSQL instalation PG_CONFIG Location to find pg_config for target PostgreSQL instalation
@ -4754,7 +4753,7 @@ if test "${with_security_flags+set}" = set; then :
esac esac
else else
with_security_flags=yes with_security_flags=no
fi fi

View File

@ -266,8 +266,8 @@ if test "$HAS_TABLEAM" == 'yes'; then
fi # test "$HAS_TABLEAM" == 'yes' fi # test "$HAS_TABLEAM" == 'yes'
PGAC_ARG_BOOL(with, security-flags, yes, PGAC_ARG_BOOL(with, security-flags, no,
[do not use security flags]) [use security flags])
AC_SUBST(with_security_flags) AC_SUBST(with_security_flags)
if test "$with_security_flags" = yes; then if test "$with_security_flags" = yes; then