Skip to content

AOSP: Do not add '-Wl,--gc-sections' to the linker arguments

With '-Wl,--gc-sections' meson.build cc.has_function() will never fail, providing wrong input to the build system.

This patch is extracted from the !11324 (closed) to address missing qsort_r() issue with the latest main branch changes.

Edited by Roman Stratiienko

Merge request reports