Skip to content

Commit 345a45f

Browse files
committed
Remove -Wl,-multiply_defined,suppress on macOS
* It causes warnings with ld64.lld: ld64.lld: warning: Option `-multiply_defined' is obsolete. Please modernize your usage.
1 parent b2014ba commit 345a45f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cext/ABI_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3
1+
4

lib/truffle/rbconfig.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module RbConfig
8585
defs = "-DTRUFFLERUBY_ABI_VERSION=#{ruby_abi_version}"
8686
cppflags = ''
8787
ldflags = ''
88-
dldflags = Truffle::Platform.darwin? ? '-Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress' : ''
88+
dldflags = Truffle::Platform.darwin? ? '-Wl,-undefined,dynamic_lookup' : ''
8989

9090
cext_dir = "#{prefix}/lib/cext"
9191
soext = Truffle::Platform::SOEXT

0 commit comments

Comments
 (0)