Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezkotlin-feature-ohos-arm64
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhen.jiang
ezkotlin-feature-ohos-arm64
Commits
ede6ce63
Commit
ede6ce63
authored
Jan 30, 2026
by
zhen.jiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-ffunction-sections + --gc-sections
parent
c7bd18b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
konan.properties
kotlin-native/konan/konan.properties
+2
-2
No files found.
kotlin-native/konan/konan.properties
View file @
ede6ce63
...
...
@@ -819,7 +819,7 @@ crtFilesLocation.ohos_arm64 = usr/lib/aarch64-linux-ohos
targetTriple.ohos_arm64
=
aarch64-linux-ohos
linkerNoDebugFlags.ohos_arm64
=
-S
linkerDynamicFlags.ohos_arm64
=
-shared
linkerDynamicFlags.ohos_arm64
=
-shared
--gc-sections
linkerOptimizationFlags.ohos_arm64
=
--gc-sections
linkerKonanFlags.ohos_arm64
=
-Bstatic -Bdynamic -ldl -lm -lpthread -lc++ -lc++abi
\
--defsym __cxa_demangle=Konan_cxa_demangle -lc -lqos -lhitrace_ndk.z -lhilog_ndk.z
...
...
@@ -830,7 +830,7 @@ targetCpuFeatures.ohos_arm64 = +aes,+fp,+neon,+sha2,+sve,+asimd
clangFlags.ohos_arm64
=
-cc1 -emit-obj -x ir
clangNooptFlags.ohos_arm64
=
-O1
clangOptFlags.ohos_arm64
=
-O3 -ffunction-sections
clangDebugFlags.ohos_arm64
=
-O0
clangDebugFlags.ohos_arm64
=
-O0
-ffunction-sections -fdata-sections
dynamicLibraryRelocationMode.ohos_arm64
=
pic
staticLibraryRelocationMode.ohos_arm64
=
pic
#
endregion
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment