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

Commitc0fdec2

Browse files
committed
Add $(LDFLAGS) to Windows make rule for postgres executable. Needed
to do profiling on Cygwin, per report from Dave Page.
1 parenta2597ef commitc0fdec2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.78 2002/05/05 00:03:28 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.79 2002/05/22 21:46:40 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -45,9 +45,9 @@ else # win
4545
# commands into variables?
4646
postgres:$(OBJS)$(top_builddir)/src/utils/dllinit.o postgres.def libpostgres.a
4747
dlltool --dllname$@$(X) --output-exp$@.exp --def postgres.def
48-
gcc -g -o$@$(X) -Wl,--base-file,$@.base$@.exp$(OBJS)$(DLLLIBS)
48+
gcc$(LDFLAGS)-g -o$@$(X) -Wl,--base-file,$@.base$@.exp$(OBJS)$(DLLLIBS)
4949
dlltool --dllname$@$(X) --base-file$@.base --output-exp$@.exp --def postgres.def
50-
gcc -g -o$@$(X)$@.exp$(OBJS)$(DLLLIBS)
50+
gcc$(LDFLAGS)-g -o$@$(X)$@.exp$(OBJS)$(DLLLIBS)
5151
rm$@.exp$@.base
5252

5353
endif# win

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp