Disable compiler optimization to avoid build fail

Signed-off-by: mrlop233 <lujixiang1@huawei.com>
This commit is contained in:
mrlop233
2025-05-09 14:51:20 +08:00
committed by MrLop
parent e054aa0842
commit 47d73c2b8c
+2 -1
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Huawei Device Co., Ltd.
# Copyright (C) 2023-2025 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -87,6 +87,7 @@ ohos_shared_library("libfuse") {
"-Wl,--as-needed",
"-shared",
"-fPIC",
"-Wl,-mllvm,-import-instr-limit=0",
]
innerapi_tags = [ "platformsdk" ]
external_deps = [ "c_utils:utils" ]