disable LTO

Signed-off-by: lijunru <lijunru9@huawei.com>
Change-Id: I189b9233074df8dba6166e9b3e5101ed0b445093
This commit is contained in:
lijunru 2023-09-10 16:12:54 +08:00
parent 1c2931a5e7
commit 9415be2cef

View File

@ -74,6 +74,7 @@ ohos_source_set("hiebpf.bpf") {
if (use_libfuzzer) {
remove_configs += [ "//build/config/sanitizers:default_sanitizer_flags" ]
}
cflags_c = [ "-fno-lto" ]
sources = [ "./src/hiebpf.bpf.c" ]
configs = [
":common_config",