mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-12 16:47:28 +08:00
Remove extra bits from my previous commit.
I am sorry for the way I handled this -gused commit. From-SVN: r68587
This commit is contained in:
parent
2e8a523fa7
commit
3006aa689d
14
gcc/toplev.c
14
gcc/toplev.c
@ -4590,20 +4590,6 @@ general_init (char *argv0)
|
||||
init_stringpool ();
|
||||
init_ttree ();
|
||||
|
||||
/* APPLE LOCAL setrlimit */
|
||||
#ifdef RLIMIT_STACK
|
||||
/* Get rid of any avoidable limit on stack size. */
|
||||
{
|
||||
struct rlimit rlim;
|
||||
|
||||
/* Set the stack limit huge. (Compiles normally work within
|
||||
a megabyte of stack, but the normal limit on OSX is 512K for
|
||||
some reason.) */
|
||||
getrlimit (RLIMIT_STACK, &rlim);
|
||||
rlim.rlim_cur = rlim.rlim_max;
|
||||
setrlimit (RLIMIT_STACK, &rlim);
|
||||
}
|
||||
#endif /* RLIMIT_STACK defined */
|
||||
}
|
||||
|
||||
/* Parse command line options and set default flag values, called
|
||||
|
Loading…
Reference in New Issue
Block a user