pgsql: Fix program build rule in src/bin/scripts/Makefile.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix program build rule in src/bin/scripts/Makefile.
Дата
Msg-id E1gfZZk-0007tI-0R@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix program build rule in src/bin/scripts/Makefile.

Commit 69ae9dcb4 added a globally-visible "%: %.o" rule, but we failed
to notice that src/bin/scripts/Makefile already had such a rule.
Apparently, the later occurrence of the same rule wins in nearly all
versions of gmake ... but not in the one used by buildfarm member jacana.
jacana is evidently using the global rule, which says to link "$<",
ie just the first dependency.  But the scripts makefile needs to
link "$^", ie all the dependencies listed for the target.

There is, fortunately, no good reason not to use "$^" in the global
version of the rule, so we can just do that and get rid of the local
version.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c5c7fa261f57fadd93f166dc33ce2b1d188ad4e7

Modified Files
--------------
src/Makefile.global.in   |  2 +-
src/bin/scripts/Makefile | 19 ++++++++-----------
2 files changed, 9 insertions(+), 12 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Don't create relfilenode for relations without storage
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Update RFC URLs