-
- Downloads
Split the LDFLAGS make variable into two parts: LDFLAGS is now used for
linking both executables and shared libraries, and we add on LDFLAGS_EX when linking executables or LDFLAGS_SL when linking shared libraries. This provides a significantly cleaner way of dealing with link-time switches than the former behavior. Also, make sure that the various platform-specific %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that before. (I did not add these variables for the platforms that invoke $(LD) directly, however. It's not clear if we can do that safely, since for the most part we assume these variables use CC command-line syntax.) Per gripe from Aaron Swenson and subsequent investigation.
Showing
- configure 5 additions, 2 deletionsconfigure
- configure.in 3 additions, 3 deletionsconfigure.in
- doc/src/sgml/installation.sgml 12 additions, 3 deletionsdoc/src/sgml/installation.sgml
- doc/src/sgml/ref/pg_config-ref.sgml 17 additions, 5 deletionsdoc/src/sgml/ref/pg_config-ref.sgml
- src/Makefile.global.in 4 additions, 3 deletionssrc/Makefile.global.in
- src/Makefile.shlib 12 additions, 19 deletionssrc/Makefile.shlib
- src/backend/Makefile 9 additions, 9 deletionssrc/backend/Makefile
- src/backend/port/Makefile 2 additions, 2 deletionssrc/backend/port/Makefile
- src/bin/initdb/Makefile 2 additions, 2 deletionssrc/bin/initdb/Makefile
- src/bin/pg_config/Makefile 3 additions, 2 deletionssrc/bin/pg_config/Makefile
- src/bin/pg_config/pg_config.c 19 additions, 1 deletionsrc/bin/pg_config/pg_config.c
- src/bin/pg_controldata/Makefile 2 additions, 2 deletionssrc/bin/pg_controldata/Makefile
- src/bin/pg_ctl/Makefile 2 additions, 2 deletionssrc/bin/pg_ctl/Makefile
- src/bin/pg_dump/Makefile 4 additions, 4 deletionssrc/bin/pg_dump/Makefile
- src/bin/pg_resetxlog/Makefile 2 additions, 2 deletionssrc/bin/pg_resetxlog/Makefile
- src/bin/psql/Makefile 2 additions, 2 deletionssrc/bin/psql/Makefile
- src/bin/scripts/Makefile 2 additions, 2 deletionssrc/bin/scripts/Makefile
- src/interfaces/ecpg/preproc/Makefile 2 additions, 2 deletionssrc/interfaces/ecpg/preproc/Makefile
- src/interfaces/ecpg/test/Makefile 2 additions, 2 deletionssrc/interfaces/ecpg/test/Makefile
- src/interfaces/ecpg/test/Makefile.regress 1 addition, 1 deletionsrc/interfaces/ecpg/test/Makefile.regress
Loading
Please register or sign in to comment