Add '-Wl,' prefix to linker switches consistently. Remove shlib_symbolic

macros, which aren't used anywhere and haven't been for some time.
This commit is contained in:
Tom Lane 2004-12-21 18:47:42 +00:00
parent 96b42de9a8
commit 71d21577de
11 changed files with 8 additions and 18 deletions

View File

@ -15,8 +15,7 @@ endif
ifeq ($(DLSUFFIX), .so)
CFLAGS_SL = -fpic
rpath = -Wl,-rpath,$(rpathdir)
export_dynamic = -export-dynamic
shlib_symbolic = -Wl,-Bsymbolic
export_dynamic = -Wl,-export-dynamic
else
CFLAGS_SL =
endif

View File

@ -1,9 +1,8 @@
AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -export-dynamic
rpath = -R$(rpathdir)
shlib_symbolic = -Wl,-Bsymbolic -lc
export_dynamic = -Wl,-export-dynamic
rpath = -Wl,-R$(rpathdir)
endif
DLSUFFIX = .so

View File

@ -33,7 +33,6 @@ endif
# set up appropriate options for shared library builds
export_dynamic = -Wl,-E
shlib_symbolic = -Bsymbolic
INSTALL_SHLIB_OPTS = -m 555

View File

@ -1,7 +1,6 @@
MK_NO_LORDER= true
AROPT = crs
rpath = -Wl,-rpath,$(rpathdir)
shlib_symbolic = -Wl,-B,symbolic
DLSUFFIX = .so
# PIC is default

View File

@ -1,7 +1,6 @@
AROPT = crs
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,$(rpathdir)
shlib_symbolic = -Wl,-Bsymbolic
allow_nonpic_in_shlib = yes
DLSUFFIX = .so

View File

@ -3,9 +3,8 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -Wl,-R$(rpathdir)
shlib_symbolic = -Wl,-Bsymbolic -lc
else
rpath = -R$(rpathdir)
rpath = -Wl,-R$(rpathdir)
endif
DLSUFFIX = .so

View File

@ -2,8 +2,7 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -R$(rpathdir)
shlib_symbolic = -Wl,-Bsymbolic
rpath = -Wl,-R$(rpathdir)
endif
DLSUFFIX = .so

View File

@ -1,7 +1,7 @@
AROPT = crs
DLSUFFIX = .so
CFLAGS_SL =
rpath = -rpath $(rpathdir)
rpath = -Wl,-rpath -Wl,$(rpathdir)
%.so: %.o
$(LD) -shared -expect_unresolved '*' -o $@ $<

View File

@ -1,6 +1,5 @@
AROPT = cr
export_dynamic = -Wl,-Bexport
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)

View File

@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.11 2004/11/19 00:41:39 tgl Exp $
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.12 2004/12/21 18:47:42 tgl Exp $
AROPT = crs
@ -6,9 +6,8 @@ ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,$(rpathdir)
else
rpath = -R$(rpathdir)
rpath = -Wl,-R$(rpathdir)
endif
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)

View File

@ -12,7 +12,6 @@ else
rpath = -Wl,-R$(rpathdir)
endif
endif
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)