New comment by klarasm on void-packages repository https://github.com/void-linux/void-packages/pull/42636#issuecomment-1462615003 Comment: If I look into the libtool script without the commit i get: ``` # The linker used to build libraries. LD=${LD:=ld} ``` which allows the linker to be overridden by the environment. With the commit i get: ``` # The linker used to build libraries. LD="ld" ``` which sets the linker unconditionally. So the problematic part of the commit is probably: ``` - # e.g. AR="armv7l-linux-gnueabihf-ar" becomes AR="${AR:=ar}" - vsed -i -e "s,\([A-Z]\+\)=\"${XBPS_CROSS_TRIPLET}\-\(.*\)\",\1=\$\{\1:=\2\},g" \ + # e.g. AR="armv7l-linux-gnueabihf-ar" becomes AR="ar" + vsed -i -e "s,\([A-Z]\+\)=\"${XBPS_CROSS_TRIPLET}\-\(.*\)\",\1=\"\2\",g" \ ``` I'll revert that part only and see if it still builds ok.