回退 'Pull Request !73 : 【轻量级 PR】:cfi'

This commit is contained in:
李自然 2024-04-16 01:29:01 +00:00 committed by Gitee
parent 53658c5b8e
commit 99114cb1a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -23,16 +23,8 @@ config("cast_engine_default_config") {
"-O2",
"-D_FORTIFY_SOURCE=2",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden",
"-flto",
"-fsanitize=cfi",
"-fsanitize-cfi-cross-dso",
"-fvisibility-inlines-hidden"
]
cflags_cc = cflags
ldflags = [
"-Werror",
"-flto",
"-fsanitize=cfi",
"-fsanitize-cfi-cross-dso",
]
ldflags = [ "-Werror" ]
}