Link postgres from all object files at once, to avoid the error-prone

Peter Eisentraut <peter_e@gmx.net>

Commit: 9956ddc19164b02dc1925fb389a1af77472eba5e
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2008-02-25T17:55:42Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/common.mk modified +27 −5
src/backend/Makefile modified +17 −23