]> granicus.if.org Git - postgresql/commit
Link postgres from all object files at once, to avoid the error-prone
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 25 Feb 2008 17:55:42 +0000 (17:55 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 25 Feb 2008 17:55:42 +0000 (17:55 +0000)
commit9956ddc19164b02dc1925fb389a1af77472eba5e
tree4d7853b99df5794d8d127578246942c0d5dc9e14
parentad20c990f7392a14d2b9699b5b5857d5e5353715
Link postgres from all object files at once, to avoid the error-prone
SUBSYS.o step and allow for better optimization by the linker.

Instead of partial linking into SUBSYS.o, the list of object files is
assembled in objfiles.txt files that are expanded when the final
linking is done.

Because we are not yet sure how long command lines different platforms
can handle, the old way of linking is still available, by defining the
make variable PARTIAL_LINKING (e.g., make all PARTIAL_LINKING=1).  If
we determine that this is necessary for some platforms, then we will
document this in a more prominent place.
src/backend/Makefile
src/backend/common.mk