a555f2
Harden the "hardened" flags even more to comply with RHEL8 security rules
a555f2
9dcad6
--- mariadb-10.3.25/CMakeLists.txt	2020-10-05 18:19:45.000000000 +0200
9dcad6
+++ mariadb-10.3.25/CMakeLists.txt_patched	2020-11-03 01:29:52.369426705 +0100
9dcad6
@@ -247,7 +247,7 @@ IF(NOT WITH_TSAN)
a555f2
     # security-enhancing flags
a555f2
     MY_CHECK_AND_SET_COMPILER_FLAG("-pie -fPIC")
9dcad6
     MY_CHECK_AND_SET_LINKER_FLAG("-Wl,-z,relro,-z,now")
a555f2
-    MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector --param=ssp-buffer-size=4")
a555f2
+    MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector-strong --param=ssp-buffer-size=4")
a555f2
     MY_CHECK_AND_SET_COMPILER_FLAG("-D_FORTIFY_SOURCE=2" RELEASE RELWITHDEBINFO)
a555f2
   ENDIF()
a555f2
 ENDIF()