diff --git a/BUILD.gn b/BUILD.gn index 666989e0e95563eab221c94d408a7cb4dd3c495f..fcf954dc885fcf2394ed524e4e767a916a7c34e7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -81,6 +81,7 @@ ohos_shared_library("usagestatsinner") { "interfaces/innerkits/src/bundle_active_high_frequency_period.cpp", ] public_configs = [ ":usagestats_public_config" ] + cflags_cc = [ "-fstack-protector-strong" ] deps = [ ":app_group_callback_interface", ":bundle_active_interface",