Content-Length: 277579 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b8eef28353e42e260e9b640c165773b4ea71aa8d

88 Change expand_subsys function so that it preserves the relative order of · postgrespro/postgres_cluster@b8eef28 · GitHub
Skip to content

Commit b8eef28

Browse files
committed
Change expand_subsys function so that it preserves the relative order of
the files passed as argument. This is desirable so that the dtrace rule in src/backend/Makefile works.
1 parent 1743778 commit b8eef28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/common.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Common make rules for backend
33
#
4-
# $PostgreSQL: pgsql/src/backend/common.mk,v 1.4 2008/02/26 08:23:31 petere Exp $
4+
# $PostgreSQL: pgsql/src/backend/common.mk,v 1.5 2008/02/27 20:31:01 petere Exp $
55
#
66

77
# When including this file, set OBJS to the object files created in
@@ -33,7 +33,7 @@ objfiles.txt:: $(SUBDIROBJS) $(OBJS)
3333
touch $@
3434

3535
# make function to expand objfiles.txt contents
36-
expand_subsys = $(foreach file,$(filter %/objfiles.txt,$(1)),$(patsubst ../../src/backend/%,%,$(addprefix $(top_builddir)/,$(shell cat $(file))))) $(filter-out %/objfiles.txt,$(1))
36+
expand_subsys = $(foreach file,$(1),$(if $(filter %/objfiles.txt,$(file)),$(patsubst ../../src/backend/%,%,$(addprefix $(top_builddir)/,$(shell cat $(file)))),$(file)))
3737

3838
# Parallel make trickery
3939
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b8eef28353e42e260e9b640c165773b4ea71aa8d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy