summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-09-01 08:50:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-09-01 08:50:10 +0000
commit86ec73b90932dd22e9e6c2333f1322130c4e1690 (patch)
tree7725c66bcb74134d758b965006a4a7fd15c17e07 /src/Makefile.shlib
parentb8f5ea76850ea22bdf21c56bce5da0db3be18f0c (diff)
downloadpostgresql-86ec73b90932dd22e9e6c2333f1322130c4e1690.tar.gz
Synchronize the shared object build rules in Makefile.port with Makefile.shlib
somewhat by adding CFLAGS where the compiler is used and Makefile.shlib already used CFLAGS.
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 4e795e32fe..5bf5b818c1 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.116 2008/04/08 09:50:29 petere Exp $
+# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.117 2008/09/01 08:50:09 petere Exp $
#
#-------------------------------------------------------------------------
@@ -256,10 +256,9 @@ endif
ifeq ($(PORTNAME), solaris)
ifeq ($(GCC), yes)
- LINK.shared = $(COMPILER) -shared # $(COMPILER) needed for -m64
+ LINK.shared = $(COMPILER) -shared
else
-# CFLAGS added for X86_64
- LINK.shared = $(CC) -G $(CFLAGS)
+ LINK.shared = $(COMPILER) -G
endif
ifdef soname
ifeq ($(with_gnu_ld), yes)