forked from pool/mariadb
Antonio Teixeira
9a48c85cb8
- Update to 11.4.2: https://mariadb.com/kb/en/changes-improvements-in-mariadb-11-4/ https://mariadb.com/kb/en/changes-improvements-in-mariadb-11-3/ https://mariadb.com/kb/en/mariadb-11-4-2-release-notes/ https://mariadb.com/kb/en/mariadb-11-4-2-changelog/ https://mariadb.com/kb/en/mariadb-11-4-1-release-notes/ https://mariadb.com/kb/en/mariadb-11-4-1-changelog/ https://mariadb.com/kb/en/mariadb-11-4-0-release-notes/ https://mariadb.com/kb/en/mariadb-11-4-0-changelog/ - Refresh mariadb-10.2.4-fortify-and-O.patch - Update list of skipped tests OBS-URL: https://build.opensuse.org/request/show/1180017 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=319
20 lines
781 B
Diff
20 lines
781 B
Diff
PATCH-P0-FIX-HACK: Not enforcing specific flags
|
|
|
|
Useing some CFLAGS from distribution and some enforced can and leads to the
|
|
conflicts like FORTIFY and -O0. Removing hardcoded options.
|
|
|
|
Maintainer: Michal Hrusecky <mhrusecky@suse.cz>
|
|
|
|
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -263,7 +263,6 @@ IF(SECURITY_HARDENED AND NOT WITH_ASAN A
|
|
MY_CHECK_AND_SET_COMPILER_FLAG("-pie -fPIC")
|
|
MY_CHECK_AND_SET_LINKER_FLAG("-Wl,-z,relro,-z,now")
|
|
MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector --param=ssp-buffer-size=4")
|
|
- MY_CHECK_AND_SET_COMPILER_FLAG("-D_FORTIFY_SOURCE=2" RELEASE RELWITHDEBINFO)
|
|
ENDIF()
|
|
|
|
OPTION(WITH_DBUG_TRACE "Enable DBUG_ENTER()/DBUG_RETURN()/DBUG_PRINT()" ON)
|