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",
|
"-O2",
|
||||||
"-D_FORTIFY_SOURCE=2",
|
"-D_FORTIFY_SOURCE=2",
|
||||||
"-fvisibility=hidden",
|
"-fvisibility=hidden",
|
||||||
"-fvisibility-inlines-hidden",
|
"-fvisibility-inlines-hidden"
|
||||||
"-flto",
|
|
||||||
"-fsanitize=cfi",
|
|
||||||
"-fsanitize-cfi-cross-dso",
|
|
||||||
]
|
]
|
||||||
cflags_cc = cflags
|
cflags_cc = cflags
|
||||||
ldflags = [
|
ldflags = [ "-Werror" ]
|
||||||
"-Werror",
|
|
||||||
"-flto",
|
|
||||||
"-fsanitize=cfi",
|
|
||||||
"-fsanitize-cfi-cross-dso",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user