Read specs from /usr/libdata/gcc/specs if it exists.
This commit is contained in:
parent
e808e7128b
commit
e3141582a8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user