Use safe identical code folding on Android.
This commit is contained in:
parent
a6bfa6327b
commit
19533bc90a
@ -62,6 +62,8 @@ function(td_set_up_compiler)
|
||||
set(TD_LINKER_FLAGS "-Wl,-z,ignore")
|
||||
elseif (EMSCRIPTEN)
|
||||
set(TD_LINKER_FLAGS "-Wl,--gc-sections")
|
||||
elseif (ANDROID)
|
||||
set(TD_LINKER_FLAGS "-Wl,--gc-sections -Wl,--exclude-libs,ALL -Wl,--icf=safe")
|
||||
else()
|
||||
set(TD_LINKER_FLAGS "-Wl,--gc-sections -Wl,--exclude-libs,ALL")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user