1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MY_CHECK_AND_SET_COMPILER_FLAG changes

* watch for "redefined macro" warning
* don't enable -D_FORTIFY_SOURCE=2 in debug builds (it requires -O)
This commit is contained in:
Alexey Botchkov
2015-03-11 13:05:03 +04:00
parent 190858d996
commit 52a1b5a8c2
2 changed files with 2 additions and 7 deletions

View File

@ -9,6 +9,7 @@ SET(fail_patterns
FAIL_REGEX "unrecognized .*option"
FAIL_REGEX "ignoring unknown option"
FAIL_REGEX "warning:.*ignored"
FAIL_REGEX "warning:.*redefined"
FAIL_REGEX "[Ww]arning: [Oo]ption"
)