- added new switch -no-beos-fixes that deactivates the automatic linking

of fix_bdirectwin_typeinfo.o.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2004-12-02 16:14:56 +00:00
parent 16b7d295d1
commit 58c9fe6e74

View File

@ -858,6 +858,7 @@ struct option_map option_map[] =
{"--library-directory", "-L", "a"},
{"--machine", "-m", "aj"},
{"--machine-", "-m", "*j"},
{"--no-beos-fixes", "-no-beos-fixes", 0},
{"--no-line-commands", "-P", 0},
{"--no-precompiled-includes", "-noprecomp", 0},
{"--no-standard-includes", "-nostdinc", 0},
@ -2518,6 +2519,7 @@ display_help ()
printf (" 'none' means revert to the default behaviour of\n");
printf (" guessing the language based on the file's extension\n");
printf (" -priority=<prio> Specify thread-priority to use (1-10, default is 5)\n");
printf (" -no-beos-fixes Disable any BeOS-R5 compatibility fixes\n");
printf ("\nOptions starting with -g, -f, -m, -O or -W are automatically passed on to\n");
printf ("the various sub-processes invoked by %s. In order to pass other options\n",
@ -2796,6 +2798,10 @@ process_command (argc, argv)
add_linker_option (argv[i], strlen(argv[i]));
n_switches++;
}
else if (!strcmp (argv[i], "-no-beos-fixes"))
{
n_switches++;
}
#endif
else if (! strcmp (argv[i], "-print-search-dirs"))
print_search_dirs = 1;
@ -3189,6 +3195,16 @@ process_command (argc, argv)
;
else if (! strcmp (argv[i], "-print-multi-directory"))
;
else if (! strcmp (argv[i], "-no-beos-fixes"))
{
/* Preserve the switch so that it can be caught by the
cc1 spec string. */
switches[n_switches].part1 = argv[i]+1;
switches[n_switches].args = 0;
switches[n_switches].live_cond = 0;
switches[n_switches].validated = 0;
n_switches++;
}
else if (! strncmp (argv[i], "-priority=", 10))
{
/* Preserve the switch so that it can be caught by the