Skip to content

Commit e152949

Browse files
committed
Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the
shared link line.
1 parent a64e85e commit e152949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile.shlib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.108 2007/02/11 19:31:45 tgl Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.109 2007/02/20 22:45:57 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -191,7 +191,7 @@ endif
191191

192192
ifeq ($(PORTNAME), solaris)
193193
ifeq ($(GCC), yes)
194-
LINK.shared = $(CC) -shared
194+
LINK.shared = $(COMPILER) -shared # $(COMPILER) needed for -m64
195195
else
196196
# CFLAGS added for X86_64
197197
LINK.shared = $(CC) -G $(CFLAGS)

0 commit comments

Comments
 (0)