From c701ac4ea958dc309a4553943b5cd9d82372cb1d Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Tue, 5 Dec 2017 13:56:33 +0100 Subject: [PATCH] Issue 49485 - Typo in gccsec_defs Bug Description: In configure.ac gcc parameters for --enable-gcc-security have a typo: -D_FORITY_SOURCE=2 instead of -D_FORTIFY_SOURCE=2 https://pagure.io/389-ds-base/issue/49485 Reviewed by: ??? --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index cb6c52882..3b348cd80 100644 --- a/configure.ac +++ b/configure.ac @@ -158,8 +158,8 @@ AC_ARG_ENABLE(gcc-security, AS_HELP_STRING([--enable-gcc-security], [Enable gcc [ AC_MSG_RESULT(yes) AM_COND_IF([RPM_HARDEND_CC], - [ gccsec_defs="-Wall -Wp,-D_FORITY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 " ], - [ gccsec_defs="-Wall -Wp,-D_FORITY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Werror=format-security" ] + [ gccsec_defs="-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 " ], + [ gccsec_defs="-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Werror=format-security" ] ) ], [ -- 2.14.3