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

Commit53cc19b

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 parentc8afad9 commit53cc19b

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp