* Darwin targets that don't support link order sym files can't smart link

vectorized sections

git-svn-id: trunk@48765 -
This commit is contained in:
Jonas Maebe 2021-02-21 21:41:09 +00:00
parent 8b82e2a9cb
commit 6beb28316e

View File

@ -1584,7 +1584,9 @@ implementation
class function ttai_typedconstbuilder.is_smartlink_vectorized_dead_strip: boolean;
begin
result:=tf_smartlink_sections in target_info.flags;
result:=(tf_smartlink_sections in target_info.flags) and
(not(target_info.system in systems_darwin) or
(tf_supports_symbolorderfile in target_info.flags));
end;