mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Fix macos ld warning
This commit is contained in:
parent
d853fee59b
commit
57fc441bf9
2 changed files with 12 additions and 0 deletions
|
@ -1078,6 +1078,12 @@ fn link_macos(
|
|||
// "--gc-sections",
|
||||
"-arch",
|
||||
&arch,
|
||||
// Suppress warnings, because otherwise it prints:
|
||||
//
|
||||
// ld: warning: -undefined dynamic_lookup may not work with chained fixups
|
||||
//
|
||||
// We can't disable that option without breaking either x64 mac or ARM mac
|
||||
"-w",
|
||||
"-macos_version_min",
|
||||
&get_macos_version(),
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue