diff --git a/interfaces/kits/cj/screenlockfilemanager/BUILD.gn b/interfaces/kits/cj/screenlockfilemanager/BUILD.gn index 360c67f580d179a28b3611cfc2a9ce3003d46116..d6a1eba0c7d6e475ab6095f126bf697864d14521 100644 --- a/interfaces/kits/cj/screenlockfilemanager/BUILD.gn +++ b/interfaces/kits/cj/screenlockfilemanager/BUILD.gn @@ -45,11 +45,7 @@ ohos_shared_library("cj_screen_lock_file_manager_ffi") { "napi:cj_bind_ffi", ] - cflags_cc = [ - "-fstack-protector-strong", - "-O2", - "-D_FORTIFY_SOURCE=2", - ] + cflags_cc = [ "-DHILOG_ENABLE" ] public_configs = [ ":cj_screen_lock_file_manager_ffi_config" ] configs = [ "${access_token_path}/config:access_token_compile_flags",