mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
save generated app_data to an object file
This commit is contained in:
parent
2e2be45508
commit
322366bab3
5 changed files with 42 additions and 13 deletions
|
@ -1041,14 +1041,13 @@ 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(),
|
||||
// Suppress fixup chains to ease working out dynamic relocs by the
|
||||
// surgical linker. In my experience, working with dyld opcodes is
|
||||
// slightly easier than unpacking compressed info from the __got section
|
||||
// and fixups load command.
|
||||
"-no_fixup_chains",
|
||||
])
|
||||
.args(input_paths)
|
||||
.args(extra_link_flags());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue