git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b26bd4)
Remove PARTIAL_LINKING build mode.
2018年3月31日 00:24:07 +0000 (17:24 -0700)
2018年3月31日 00:33:04 +0000 (17:33 -0700)
In 9956ddc19164b02dc1925fb389a1af77472eba5e, ten years ago, the
current objfile.txt based linking model was introduced. It's time to
retire the old SUBSYS.o based model.

This primarily is pertinent because the bitcode files for LLVM based
inlining are not produced when using PARTIAL_LINKING. It does not seem
worth to fix PARTIAL_LINKING to support that.

Author: Andres Freund
Discussion: https://postgr.es/m/20180121204356.d5oeu34jetqhmdv2@alap3.anarazel.de


diff --git a/src/backend/common.mk b/src/backend/common.mk
index 08e7eff6c87b6575e4e747f94f5a843f7e5e9e48..663e9f886ced2a77a08be854201c596db34de503 100644 (file)
--- a/src/backend/common.mk
+++ b/src/backend/common.mk
@@ -8,13 +8,7 @@
# this directory and SUBDIRS to subdirectories containing more things
# to build.
-ifdef PARTIAL_LINKING
-# old style: linking using SUBSYS.o
-subsysfilename = SUBSYS.o
-else
-# new style: linking all object files at once
subsysfilename = objfiles.txt
-endif
SUBDIROBJS = $(SUBDIRS:%=%/$(subsysfilename))
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /