Breakout devices broken by -O3

This commit is contained in:
Tad 2018-02-01 07:31:25 -05:00
parent d3a231e2be
commit 56e5ddba10
2 changed files with 11 additions and 5 deletions

View File

@ -57,7 +57,6 @@ buildAll() {
brunch lineage_d802-userdebug;
brunch lineage_d855-userdebug;
brunch lineage_ether-user;
# brunch lineage_flo-user; - undefined reference to 'mm_jpeg_get_new_session_idx'
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
@ -65,13 +64,10 @@ 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;
@ -79,6 +75,16 @@ buildAll() {
}
export -f buildAll;
buildAllN03() {
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 buildAllN03;
patchWorkspace() {
source $scripts/Patch.sh;
source $scripts/Defaults.sh;

View File

@ -62,7 +62,7 @@ patch -p1 < $patches"android_bootable_recovery/0001-Squash_Menus.patch"; #What's
enterAndClear "build"
patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing. Disclaimer: From CopperheadOS 13.0
patch -p1 < $patches"android_build/JustArchis_Optimizations-Rebased.patch" #JustArchi's Compiler Flags XXX: Breaks i9100, i9305, and n5110
patch -p1 < $patches"android_build/JustArchis_Optimizations-Rebased.patch" #JustArchi's Compiler Flags XXX: Breaks some devices, see buildAllN03()
sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence
enterAndClear "device/qcom/sepolicy"