diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.global.in | 4 | ||||
-rw-r--r-- | src/makefiles/Makefile.solaris | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index dac5cf0aa58..da9cd4e990e 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,5 +1,5 @@ # -*-makefile-*- -# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.101 2000/10/20 21:03:38 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.102 2000/10/20 23:57:33 petere Exp $ #------------------------------------------------------------------------------ # All PostgreSQL makefiles include this file and use the variables it sets, @@ -160,6 +160,8 @@ FLEXFLAGS = @FLEXFLAGS@ $(LFLAGS) AROPT = @AROPT@ LIBS = @LIBS@ +LD = @LD@ +with_gnu_ld = @with_gnu_ld@ LDFLAGS = @LDFLAGS@ $(LIBS) KRB_LIBS = @KRB_LIBS@ LDREL = -r diff --git a/src/makefiles/Makefile.solaris b/src/makefiles/Makefile.solaris index 034e4e224f4..19ef50188b3 100644 --- a/src/makefiles/Makefile.solaris +++ b/src/makefiles/Makefile.solaris @@ -1,4 +1,8 @@ -# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.1 2000/10/10 21:22:28 petere Exp $ +# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.2 2000/10/20 23:57:34 petere Exp $ + +ifeq ($(with_gnu_ld), yes) +export_dynamic = -Wl,-E +endif %.so: %.o $(LD) -G -Bdynamic -o $@ $< |