summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-05 01:39:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-05 01:39:50 +0000
commit8037bd0676c0f5b887cf5b12ee96f5da2dd6a20b (patch)
tree095ed35ca4db0d1754a7e8e590cd45390e181255 /gnu/usr.bin
parent5989b6ffe8f8a53650f0afdcfce764f27e5ea8e0 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index 4d0a3ffc5e77..0db591a18931 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -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 @@
/usr/lib directory. */
#define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
+#ifdef CROSS_COMPILE
+#define CROSS_STARTFILE_PREFIX PREFIX"/lib/"
+#endif
#undef MD_STARTFILE_PREFIX /* We don't need one for now. */
/* For the native system compiler, we actually build libgcc in a profiled