summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-20 03:10:54 +0000
committerobrien <obrien@FreeBSD.org>2002-02-20 03:10:54 +0000
commitc7a17383fdc7528ec321b07d57cafbdb0c5ea529 (patch)
treee7676ce08d801bdba2bef837c4adcde26fe52064 /gnu/usr.bin
parent626a0fd95c817e04c15c9415c06e50b9bd23d5b1 (diff)
downloadFreeBSD-src-c7a17383fdc7528ec321b07d57cafbdb0c5ea529.zip
FreeBSD-src-c7a17383fdc7528ec321b07d57cafbdb0c5ea529.tar.gz
Do not define a 'MD_EXEC_PREFIX'. It is not needed, not used in the
cross case, and just ends up causing "/usr/libexec" being added to the library search path. Also remove misleading comment about 'STANDARD_EXEC_PREFIX'. It is needed if one does not set 'MD_EXEC_PREFIX'. Submitted by: ru
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index f1063fe..54fd6ec 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -24,20 +24,14 @@
``cc --print-search-dirs'' gives:
install: STANDARD_EXEC_PREFIX/(null)
- programs: /usr/libexec/<OBJFORMAT>/:MD_EXEC_PREFIX
+ programs: /usr/libexec/<OBJFORMAT>/:STANDARD_EXEC_PREFIX:MD_EXEC_PREFIX
libraries: MD_EXEC_PREFIX:MD_STARTFILE_PREFIX:STANDARD_STARTFILE_PREFIX
-
- We really don't need a "STANDARD_EXEC_PREFIX". However w/o it,
- "--print-search-dirs" reports "install: /usr/local/lib/gcc-lib/(null)".
- It is not harmful, but is just plain wrong. So we define a
- "STANDARD_EXEC_PREFIX" to not be misleading. */
-
+*/
#undef STANDARD_EXEC_PREFIX
#undef TOOLDIR_BASE_PREFIX /* Old?? This is not documented. */
#undef MD_EXEC_PREFIX
#define STANDARD_EXEC_PREFIX PREFIX"/libexec/"
-#define MD_EXEC_PREFIX PREFIX"/libexec/"
/* Under FreeBSD, the normal location of the various *crt*.o files is the
/usr/lib directory. */
OpenPOWER on IntegriCloud