alerque / aur

Package sources for all the AUR packages I either maintain, co-maintain, or fork.
https://wiki.archlinux.org/index.php/Unofficial_user_repositories#alerque
48 stars 26 forks source link

TeXpresso update: no lto and less submodules #73

Closed let-def closed 8 months ago

let-def commented 8 months ago

A recent update of Arch broke LTO builds of tectonic (I have no idea why though). Following tectonic-git, I disabled lto for texpresso too. I also replaced the vendored harfbuzz by the system-provided one, which results in less submodules.

alerque commented 8 months ago

Did you try adding this in the build() function instead of fully disabling LTO:

CFLAGS+=' -ffat-lto-objects'

That sometimes works for Rust builds that have linker problems while not completely foregoing LTO.

Thanks for the contribution!

alerque commented 8 months ago

Nevermind it looks like that was the solution I had before. I'll look into getting this merged.