Guangyao Ma
|
565b2e85cd
|
refactor(mksh): reduce the mksh size by Oz
clang不支持“-flto,-Oz”作为链接选项,但是可以作为编译选项,且作为编译选项时,有更好的size减少效果。这里为了使用这种
编译选项组合,且为了不影响链接过程(Build.sh链接时也会使用CFLAGS),在链接选项生效的-O选项中,重置其为O2。
最终size可以从300+k,缩减为不到180k。
Close #I3UVEV
Change-Id: If29ac4a058bcd40c4c36deb484c9468c93bcd1ec
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
|
2021-06-08 21:57:27 +08:00 |
openharmony_ci
|
a5de5e0cff
|
!251 fix: clang10 lld could not recognized Oz
Merge pull request !251 from MGY917/master
|
2021-05-19 11:14:19 +08:00 |
Guangyao Ma
|
87a0006d5e
|
fix: clang10 lld could not recognized Oz
Change-Id: I73055c0d9b9ceb27adb687089be4d332ec323b9c
|
2021-05-19 09:37:38 +08:00 |
SimonLi
|
e38f9a98c9
|
fix: mkdir -p is more robust
|
2021-05-13 19:20:26 +08:00 |
SimonLi
|
bef4ab9835
|
fix: rebuild mksh depends on rebuild.sh script
|
2021-05-13 19:03:43 +08:00 |
Guangyao Ma
|
41c7689dfa
|
feat: introduce mksh toybox to rootfs
Change-Id: I0a6e6f2962ca6904c858898eb93a5b2f93e85b69
|
2021-05-06 19:20:35 +08:00 |