- we no longer need to hard-patch ld to not allow undefined symbols in

objects, as we now do this via gcc-specs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10420 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2004-12-13 17:28:20 +00:00
parent bd6811b11a
commit 8f27e7c7a5

View File

@ -999,12 +999,7 @@ parse_args (unsigned argc, char **argv)
/* When creating a shared library, the default
behaviour is to ignore any unresolved references. */
if (link_info.unresolved_syms_in_objects == RM_NOT_YET_SET)
#ifdef __BEOS__
/* BeOS uses -shared for apps, but wants to report undefined symbols for them */
link_info.unresolved_syms_in_objects = how_to_report_unresolved_symbols;
#else
link_info.unresolved_syms_in_objects = RM_IGNORE;
#endif
if (link_info.unresolved_syms_in_shared_libs == RM_NOT_YET_SET)
link_info.unresolved_syms_in_shared_libs = RM_IGNORE;
}