mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
Allow for better control over the GCC front-end when building a cross
compiler. * Undo the diking out of cross compiler logic from gcc.c rev 1.16. * Add the `CROSS_STARTFILE_PREFIX' knob. * Add our own definition of `STANDARD_INCLUDE_DIR'. This should have been included in freebsd-native.h rev 1.5. * Minimize a little bit more, things we dike out in the FREEBSD_NATIVE case. Submitted by: ru & obrien
This commit is contained in:
parent
b2ff8e4da9
commit
9237b562e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90993
@ -16,6 +16,8 @@
|
||||
#define GCC_INCLUDE_DIR PREFIX"/include"
|
||||
#ifdef CROSS_COMPILE
|
||||
#define CROSS_INCLUDE_DIR PREFIX"/include"
|
||||
#else
|
||||
#define STANDARD_INCLUDE_DIR PREFIX"/include"
|
||||
#endif
|
||||
|
||||
/* Under FreeBSD, the normal location of the compiler back ends is the
|
||||
@ -35,6 +37,9 @@
|
||||
|
||||
#undef MD_STARTFILE_PREFIX /* We don't need one for now. */
|
||||
#define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
|
||||
#ifdef CROSS_COMPILE
|
||||
#define CROSS_STARTFILE_PREFIX PREFIX"/lib/"
|
||||
#endif
|
||||
|
||||
/* FreeBSD is 4.4BSD derived */
|
||||
#define bsd4_4
|
||||
|
Loading…
Reference in New Issue
Block a user