Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8eef28

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 rulein src/backend/Makefile works.
1 parent1743778 commitb8eef28

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)

[8]ページ先頭

©2009-2025 Movatter.jp