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

Commitabe4237

Browse files
committed
Stop using "-multiply_defined suppress" on macOS.
We started to use this linker switch in commit9df3086 of2004-07-13, which was in the OS X 10.3 era. Apparently it's been ano-op since around OS X 10.9. Apple's most recent toolchain versionactively complains about it, so it's time to get rid of it.Discussion:https://postgr.es/m/467042.1695766998@sss.pgh.pa.us
1 parent9a59ff4 commitabe4237

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
@@ -123,13 +123,13 @@ ifeq ($(PORTNAME), darwin)
123123
ifneq ($(SO_MAJOR_VERSION), 0)
124124
version_link= -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
125125
endif
126-
LINK.shared= $(COMPILER) -dynamiclib -install_name '$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)' $(version_link) $(exported_symbols_list) -multiply_defined suppress
126+
LINK.shared= $(COMPILER) -dynamiclib -install_name '$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)' $(version_link) $(exported_symbols_list)
127127
shlib= lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
128128
shlib_major= lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
129129
else
130130
# loadable module
131131
DLSUFFIX= .so
132-
LINK.shared= $(COMPILER) -bundle -multiply_defined suppress
132+
LINK.shared= $(COMPILER) -bundle
133133
endif
134134
BUILD.exports= $(AWK) '/^[^\#]/ {printf "_%s\n",$$1}' $< >$@
135135
exports_file= $(SHLIB_EXPORTS:%.txt=%.list)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp