mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2024-11-27 00:21:04 +00:00
回退 'Pull Request !73 : 【轻量级 PR】:cfi'
This commit is contained in:
parent
53658c5b8e
commit
99114cb1a9
12
BUILD.gn
12
BUILD.gn
@ -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" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user