Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b3f2f6e

Browse files
author
Neil Conway
committed
Use 'override' when appending text to LDFLAGS, so the build doesn't break
if the user has defined LDFLAGS themselves.
1 parent 3738510 commit b3f2f6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makefile.global.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.195 2004/09/18 13:28:54 petere Exp $
2+
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.196 2004/10/01 02:06:52 neilc Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -361,9 +361,9 @@ ifneq (,$(LIBOBJS))
361361
LIBS := -lpgport $(LIBS)
362362
ifdef PGXS
363363
# where libpgport.a is installed
364-
LDFLAGS := -L$(libdir) $(LDFLAGS)
364+
override LDFLAGS := -L$(libdir) $(LDFLAGS)
365365
else
366-
LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
366+
override LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
367367
endif
368368
endif
369369

0 commit comments

Comments
 (0)