diff --git a/interfaces/innerkits/appverify/BUILD.gn b/interfaces/innerkits/appverify/BUILD.gn index 77a8bdb09e7a2dadbf3cdae25c24bd59bbf7ee97..9162c7ffeb6ab922d938ffef23e403049ecca120 100644 --- a/interfaces/innerkits/appverify/BUILD.gn +++ b/interfaces/innerkits/appverify/BUILD.gn @@ -65,6 +65,11 @@ if (os_level == "standard") { cflags_cc = [ "-DHILOG_ENABLE", "-fvisibility=hidden", + "-fno-unroll-loops", + "-fno-unwind-tables", + "-fno-asynchronous-unwind-tables", + "-g0", + "-Os", ] deps = [ "//third_party/openssl:libcrypto_shared" ]