On 6/7/18 12:42 am, Dave Reisner wrote:
This is shared between pacman and pacman-conf (and might be used by other binaries in the future) -- no need to compile it once for each consumer. ---
I don't understand this patch... (before) Making all in src/pacman CC check.o CC conf.o CC database.o CC deptest.o CC files.o CC ini.o CC package.o CC pacman.o CC query.o CC remove.o CC sighandler.o CC sync.o CC callback.o CC upgrade.o CC util.o CC util-common.o CCLD pacman CC pacman-conf.o CCLD pacman-conf (after) Making all in src/pacman CC conf.lo CC ini.lo CC callback.lo CC util.lo CC util-common.lo CCLD libbasic.la CC check.o CC database.o CC deptest.o CC files.o CC package.o CC pacman.o CC query.o CC remove.o CC sighandler.o CC sync.o CC upgrade.o CCLD pacman CC pacman-conf.o CCLD pacman-conf Nothing is compiled twice there. ini.c and util-common.c are still compiled twice - once in lib/libalpm and once in src/pacman. How is the library helping? Some gain in linking time? A