aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-05 00:17:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-05 00:17:24 +0000
commita370115d7de879fd7f3b657bf8a56de313688a8f (patch)
treeaf11db59232485f0e72b58310c6ea84cee761f9f /gnu
parentc21c782ba54ea308287bf9ff8dd47dd4e4850f8a (diff)
Notes
Diffstat (limited to 'gnu')
-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 40654cd9df2c..cc9d906e4d70 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -19,6 +19,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
@@ -42,6 +44,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