mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
add support for BeOS-target
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9573 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -301,7 +301,8 @@ main (int argc, char **argv)
|
||||
link_info.notice_all = FALSE;
|
||||
link_info.nocopyreloc = FALSE;
|
||||
link_info.new_dtags = FALSE;
|
||||
link_info.combreloc = TRUE;
|
||||
/* disable combreloc by default for BeOS: */
|
||||
link_info.combreloc = FALSE;
|
||||
link_info.eh_frame_hdr = FALSE;
|
||||
link_info.strip_discarded = TRUE;
|
||||
link_info.strip = strip_none;
|
||||
|
||||
@@ -985,7 +985,12 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user