mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-11-28 11:21:16 -05:00
Remove JustArchi's compiler flag optimizations
While some tasks complete slightly faster overall there are too many downsides - Too large system images - Weird compiler errors - Performance regressions on some devices - General maintenance overhead Maybe a less aggressive variant can be brought back in the future
This commit is contained in:
parent
9cdfc59d5e
commit
994a069deb
7 changed files with 8 additions and 1611 deletions
|
|
@ -68,6 +68,7 @@ buildAll() {
|
|||
brunch lineage_d802-userdebug;
|
||||
brunch lineage_d855-userdebug;
|
||||
brunch lineage_ether-user;
|
||||
brunch lineage_flo-user;
|
||||
brunch lineage_flounder-user;
|
||||
brunch lineage_FP2-user;
|
||||
# brunch lineage_h815-user; - (UPSTREAM) drivers/input/touchscreen/DS5/RefCode_CustomerImplementation.c:147:1: warning: the frame size of 2064 bytes is larger than 2048 bytes
|
||||
|
|
@ -75,10 +76,13 @@ buildAll() {
|
|||
brunch lineage_hammerhead-user;
|
||||
brunch lineage_herolte-user;
|
||||
brunch lineage_himaul-user;
|
||||
brunch lineage_i9100-userdebug;
|
||||
brunch lineage_i9305-user;
|
||||
brunch lineage_jfltexx-user;
|
||||
brunch lineage_klte-user;
|
||||
brunch lineage_m8-user;
|
||||
brunch lineage_marlin-user;
|
||||
brunch lineage_n5110-user;
|
||||
brunch lineage_osprey-user;
|
||||
brunch lineage_sailfish-user;
|
||||
brunch lineage_shamu-user;
|
||||
|
|
@ -86,16 +90,6 @@ buildAll() {
|
|||
}
|
||||
export -f buildAll;
|
||||
|
||||
buildAllNO3() {
|
||||
brunch lineage_flo-user; #Not affected by size, but breaks: undefined reference to 'mm_jpeg_get_new_session_idx'
|
||||
#Devices incompatible with -O3 due to size constraints
|
||||
#TODO: Consider moving these devices back and simply disabling recovery.img compilation
|
||||
brunch lineage_i9100-userdebug;
|
||||
brunch lineage_i9305-user;
|
||||
brunch lineage_n5110-user;
|
||||
}
|
||||
export -f buildAllNO3;
|
||||
|
||||
patchWorkspace() {
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue