u-config
pkg-config-linux-amd64target is more optimized than the more portablepkg-configtarget or manually buildingmain_posix.c- Does not build with
ltoand upstream explicitly disablesltoas it directly uses rawlinuxsyscalls - Override
LINUX_CFLAGSandLINUX_LIBSinstead ofOPTas it allows us to dynamically link instead of the default static link
Package
Section titled “Package”make installtarget iswindowsonly- Provide
pkg.m4frompkgconfas some packages require it (e.g.eiwd,libarchiveandmake)
u-configis around 1.5x faster thanpkgconfwith a slightly smaller footprintu-configdoes not supportPKG_CONFIG_SYSROOT_DIRbut seems to setpc_sysrootdirto/insrc/u-config.cby defaultglaucusstill setsPKG_CONFIG_SYSROOT_DIRincrossas we can’t guarantee whatpkg-configimplementation the host is using