git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 807ae41) | patch
Fix program build rule in src/bin/scripts/Makefile.
Sat, 5 Jan 2019 00:12:22 +0000 (19:12 -0500)
Sat, 5 Jan 2019 00:12:22 +0000 (19:12 -0500)
commit c5c7fa261f57fadd93f166dc33ce2b1d188ad4e7
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.
src/Makefile.global.in diff | blob | blame | history
src/bin/scripts/Makefile diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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