Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71d2157

Browse files
committed
Add '-Wl,' prefix to linker switches consistently. Remove shlib_symbolic
macros, which aren't used anywhere and haven't been for some time.
1 parent96b42de commit71d2157

11 files changed

+8
-18
lines changed

‎src/makefiles/Makefile.bsdi‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ endif
1515
ifeq ($(DLSUFFIX), .so)
1616
CFLAGS_SL = -fpic
1717
rpath = -Wl,-rpath,$(rpathdir)
18-
export_dynamic = -export-dynamic
19-
shlib_symbolic = -Wl,-Bsymbolic
18+
export_dynamic = -Wl,-export-dynamic
2019
else
2120
CFLAGS_SL =
2221
endif

‎src/makefiles/Makefile.freebsd‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
AROPT = cr
22

33
ifdef ELF_SYSTEM
4-
export_dynamic = -export-dynamic
5-
rpath = -R$(rpathdir)
6-
shlib_symbolic = -Wl,-Bsymbolic -lc
4+
export_dynamic = -Wl,-export-dynamic
5+
rpath = -Wl,-R$(rpathdir)
76
endif
87

98
DLSUFFIX = .so

‎src/makefiles/Makefile.hpux‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ endif
3333

3434
# set up appropriate options for shared library builds
3535
export_dynamic = -Wl,-E
36-
shlib_symbolic = -Bsymbolic
3736

3837
INSTALL_SHLIB_OPTS = -m 555
3938

‎src/makefiles/Makefile.irix‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
MK_NO_LORDER= true
22
AROPT = crs
33
rpath = -Wl,-rpath,$(rpathdir)
4-
shlib_symbolic = -Wl,-B,symbolic
54

65
DLSUFFIX = .so
76
# PIC is default

‎src/makefiles/Makefile.linux‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
AROPT = crs
22
export_dynamic = -Wl,-E
33
rpath = -Wl,-rpath,$(rpathdir)
4-
shlib_symbolic = -Wl,-Bsymbolic
54
allow_nonpic_in_shlib = yes
65
DLSUFFIX = .so
76

‎src/makefiles/Makefile.netbsd‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ AROPT = cr
33
ifdef ELF_SYSTEM
44
export_dynamic = -Wl,-E
55
rpath = -Wl,-R$(rpathdir)
6-
shlib_symbolic = -Wl,-Bsymbolic -lc
76
else
8-
rpath = -R$(rpathdir)
7+
rpath = -Wl,-R$(rpathdir)
98
endif
109

1110
DLSUFFIX = .so

‎src/makefiles/Makefile.openbsd‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ AROPT = cr
22

33
ifdef ELF_SYSTEM
44
export_dynamic = -Wl,-E
5-
rpath = -R$(rpathdir)
6-
shlib_symbolic = -Wl,-Bsymbolic
5+
rpath = -Wl,-R$(rpathdir)
76
endif
87

98
DLSUFFIX = .so

‎src/makefiles/Makefile.osf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AROPT = crs
22
DLSUFFIX = .so
33
CFLAGS_SL =
4-
rpath = -rpath $(rpathdir)
4+
rpath = -Wl,-rpath-Wl,$(rpathdir)
55

66
%.so: %.o
77
$(LD) -shared -expect_unresolved '*' -o $@ $<

‎src/makefiles/Makefile.sco‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
AROPT = cr
22
export_dynamic = -Wl,-Bexport
3-
shlib_symbolic = -Wl,-Bsymbolic
43

54
DLSUFFIX =.so
65
ifeq ($(GCC),yes)

‎src/makefiles/Makefile.solaris‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.11 2004/11/19 00:41:39 tgl Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.12 2004/12/21 18:47:42 tgl Exp $
22

33
AROPT = crs
44

55
ifeq ($(with_gnu_ld), yes)
66
export_dynamic = -Wl,-E
77
rpath = -Wl,-rpath,$(rpathdir)
88
else
9-
rpath = -R$(rpathdir)
9+
rpath = -Wl,-R$(rpathdir)
1010
endif
11-
shlib_symbolic = -Wl,-Bsymbolic
1211

1312
DLSUFFIX = .so
1413
ifeq ($(GCC), yes)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp