mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
diff -c orig/gcc.c gcc/gcc.c
|
||
|
*** orig/gcc.c Thu Apr 3 08:37:06 1997
|
||
|
--- gcc-2.7.2.1/gcc.c Fri Apr 4 23:21:00 1997
|
||
|
***************
|
||
|
*** 1354,1362 ****
|
||
|
#undef MD_STARTFILE_PREFIX_1
|
||
|
#endif
|
||
|
|
||
|
! #ifndef STANDARD_EXEC_PREFIX
|
||
|
! #define STANDARD_EXEC_PREFIX "/usr/local/lib/gcc-lib/"
|
||
|
! #endif /* !defined STANDARD_EXEC_PREFIX */
|
||
|
|
||
|
static char *standard_exec_prefix = STANDARD_EXEC_PREFIX;
|
||
|
static char *standard_exec_prefix_1 = "/usr/lib/gcc/";
|
||
|
--- 1354,1360 ----
|
||
|
#undef MD_STARTFILE_PREFIX_1
|
||
|
#endif
|
||
|
|
||
|
! #define STANDARD_EXEC_PREFIX FREEBSD_PREFIX "/libexec/"
|
||
|
|
||
|
static char *standard_exec_prefix = STANDARD_EXEC_PREFIX;
|
||
|
static char *standard_exec_prefix_1 = "/usr/lib/gcc/";
|
||
|
***************
|
||
|
*** 2708,2715 ****
|
||
|
--- 2706,2716 ----
|
||
|
/* Use 2 as fourth arg meaning try just the machine as a suffix,
|
||
|
as well as trying the machine and the version. */
|
||
|
#ifdef FREEBSD_NATIVE
|
||
|
+ add_prefix (&exec_prefixes, FREEBSD_PREFIX "/libexec/ada/", 0, 0, NULL_PTR);
|
||
|
+ add_prefix (&exec_prefixes, FREEBSD_PREFIX "/libexec/", 0, 0, NULL_PTR);
|
||
|
add_prefix (&exec_prefixes, "/usr/libexec/", 0, 0, NULL_PTR);
|
||
|
add_prefix (&exec_prefixes, "/usr/bin/", 0, 0, NULL_PTR);
|
||
|
+ add_prefix (&startfile_prefixes, FREEBSD_PREFIX "/lib/", 0, 0, NULL_PTR);
|
||
|
add_prefix (&startfile_prefixes, "/usr/libdata/gcc/", 0, 0, NULL_PTR);
|
||
|
#else /* not FREEBSD_NATIVE */
|
||
|
#ifndef OS2
|