mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
compiler: suppress Apple ld linker warnings
This commit is contained in:
parent
2624def4cd
commit
94e9528c51
2 changed files with 6 additions and 0 deletions
|
@ -1048,6 +1048,9 @@ fn link_macos(
|
||||||
// slightly easier than unpacking compressed info from the __got section
|
// slightly easier than unpacking compressed info from the __got section
|
||||||
// and fixups load command.
|
// and fixups load command.
|
||||||
"-no_fixup_chains",
|
"-no_fixup_chains",
|
||||||
|
// Suppress all warnings, at least for now. Ideally, there are no warnings
|
||||||
|
// from the linker.
|
||||||
|
"-w",
|
||||||
])
|
])
|
||||||
.args(input_paths)
|
.args(input_paths)
|
||||||
.args(extra_link_flags());
|
.args(extra_link_flags());
|
||||||
|
|
|
@ -81,6 +81,9 @@ pub fn create_dylib_macho(
|
||||||
"macos",
|
"macos",
|
||||||
&macos_version,
|
&macos_version,
|
||||||
&macos_version,
|
&macos_version,
|
||||||
|
// Suppress all warnings, at least for now. Ideally, there are no warnings
|
||||||
|
// from the linker.
|
||||||
|
"-w",
|
||||||
])
|
])
|
||||||
.output()
|
.output()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue