Skip to content

build: preserves symbols during LTO with macOS linker

Rodrigo Muino Tomonari requested to merge github/fork/jesec/master into master

man ld -export_dynamic:

Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.

This fix should be backported to release lines that have ab71af34.

Bug: vercel/pkg#1155 Signed-off-by: Jesse Chan jc@linux.com

Merge request reports

Loading