diff options
author | obrien <obrien@FreeBSD.org> | 1999-04-03 23:26:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-04-03 23:26:03 +0000 |
commit | d5b807bf5cd3aa27078e751153c1eff6fd76f3ef (patch) | |
tree | 6c255cb05479327135040b83b40efcfc7ef11e5d /contrib | |
parent | ec6e9e9edaa075f506be633768dbccb6e23d68bb (diff) | |
download | FreeBSD-src-d5b807bf5cd3aa27078e751153c1eff6fd76f3ef.zip FreeBSD-src-d5b807bf5cd3aa27078e751153c1eff6fd76f3ef.tar.gz |
* Protect ourselves from any previously defined options.
* Turn on DEFAULT_VTABLE_THUNKS. (it is the default anyway, I'm just being
explicit about it, in case it causes us trouble it might be easier for
someone to notice it this way)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/freebsd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h index 53b2340..e3aa472 100644 --- a/contrib/gcc/config/freebsd.h +++ b/contrib/gcc/config/freebsd.h @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ /* Don't assume anything about the header files. */ +#undef NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C /* This defines which switch letters take arguments. On svr4, most of @@ -70,12 +71,17 @@ Boston, MA 02111-1307, USA. */ we want to retain compatibility with older gcc versions. (even though the svr4 ABI for the i386 says that records and unions are returned in memory) */ +#undef DEFAULT_PCC_STRUCT_RETURN #define DEFAULT_PCC_STRUCT_RETURN 0 /* Ensure we the configuration knows our system correctly so we can link with libraries compiled with the native cc. */ #undef NO_DOLLAR_IN_LABEL +/* Use more efficient ``thunks'' to implement C++ vtables. */ +#undef DEFAULT_VTABLE_THUNKS +#define DEFAULT_VTABLE_THUNKS 1 + /* Miscellaneous parameters. */ @@ -96,6 +102,7 @@ Boston, MA 02111-1307, USA. */ /* Now that GCC knows what the include path applies to, put the G++ one first. C++ can now have include files that override the default C ones. */ +#undef INCLUDE_DEFAULTS #define INCLUDE_DEFAULTS \ { \ { GPLUSPLUS_INCLUDE_DIR, "C++", 1, 1 }, \ @@ -106,12 +113,18 @@ Boston, MA 02111-1307, USA. */ /* Under FreeBSD, the normal location of the compiler back ends is the /usr/libexec directory. */ +#undef STANDARD_EXEC_PREFIX +#undef TOOLDIR_BASE_PREFIX +#undef MD_EXEC_PREFIX + #define STANDARD_EXEC_PREFIX "/usr/libexec/" #define TOOLDIR_BASE_PREFIX "/usr/libexec/" +#define MD_EXEC_PREFIX "/usr/libexec/" /* Under FreeBSD, the normal location of the various *crt*.o files is the /usr/lib directory. */ +#undef STANDARD_STARTFILE_PREFIX #define STANDARD_STARTFILE_PREFIX "/usr/lib/" /* FreeBSD is 4.4BSD derived */ |