diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index a4e09ac2d..975c07760 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -95,10 +95,6 @@ ac_add_options --disable-crashreporter ac_add_options --disable-updater END - cd comm - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482248 - patch -p1 -i "$srcdir/bz1482248.patch" - if [[ $CARCH == "armv7h" ]]; then echo "ac_add_options --disable-elf-hack" >> .mozconfig echo 'ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns"' >> .mozconfig @@ -108,6 +104,10 @@ END patch -Rp1 -i ../537f4d1d837a LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" + + cd comm + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482248 + patch -p1 -i "$srcdir/bz1482248.patch" } build() {