diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-06-06 00:49:58 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-06-06 00:49:58 +0000 |
| commit | 74d3af89ef5e871a99dc657902d2b75e22201ab0 (patch) | |
| tree | db3e1250dc21a234cb15256b0191423c8c6bb2ec | |
| parent | 6438c894da90fe46c8a2886d8be6c11b8d0225b3 (diff) | |
Notes
| -rw-r--r-- | contrib/gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 5f00e8c82b65..35b76727249e 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -5989,11 +5989,11 @@ main (argc, argv) /* We need to check standard_exec_prefix/just_machine_suffix/specs for any override of as, ld and libraries. */ - specs_file = (char *) alloca (strlen (standard_exec_prefix) + specs_file = (char *) alloca (strlen (FBSD_DATA_PREFIX) + strlen (just_machine_suffix) + sizeof ("specs")); - strcpy (specs_file, standard_exec_prefix); + strcpy (specs_file, FBSD_DATA_PREFIX); strcat (specs_file, just_machine_suffix); strcat (specs_file, "specs"); if (access (specs_file, R_OK) == 0) |
