From a265cb474f67c69991393a783435d74fbc77f786 Mon Sep 17 00:00:00 2001 From: sunchengyu Date: Mon, 28 Jul 2025 08:36:04 +0000 Subject: [PATCH] smo compile option Signed-off-by: sunchengyu --- base/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/BUILD.gn b/base/BUILD.gn index a5a4dc5..5e475b8 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -248,6 +248,11 @@ ohos_shared_library("utils") { enable_enhanced_opt) { ldflags += [ "-Wl,--aarch64-inline-plt" ] } + ldflags += [ + "-Wl,--emit-relocs", + "-Wl,--no-relax", + "-mno-fix-cortex-a53-843419" + ] } } -- Gitee