summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-09-09 08:29:15 +0000
committerjb <jb@FreeBSD.org>1998-09-09 08:29:15 +0000
commit0e7b8a8da00468c7f405389fe9ed2c70467ab13c (patch)
tree4fa7619e3f3d9b1da85d68be78c0117ed830518e /usr.bin/make
parentdbe6ad54cd36e3a196589b4d1303e29fc167f8f6 (diff)
downloadFreeBSD-src-0e7b8a8da00468c7f405389fe9ed2c70467ab13c.zip
FreeBSD-src-0e7b8a8da00468c7f405389fe9ed2c70467ab13c.tar.gz
Don't define RANLIBMAG if building an elf version of make. The RANLIBMAG
option lets make look inside archive libraries when determining if a library is out-of-date. I don't think that make should look inside files, so this fix effectively tells it not to. If the decision is made (by someone else) that make _should_ be doing this, it will need to be taught how to recognise elf archive libraries. Problem noticed by: Joseph Koshy <jkoshy@freebsd.org>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/config.h b/usr.bin/make/config.h
index d72e654..3d44e2e 100644
--- a/usr.bin/make/config.h
+++ b/usr.bin/make/config.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)config.h 8.1 (Berkeley) 6/6/93
- * $Id$
+ * $Id: config.h,v 1.6 1997/02/22 19:27:08 peter Exp $
*/
#define DEFSHELL 1 /* Bourne shell */
@@ -110,7 +110,7 @@
*/
#define SUNSHCMD
-#if !defined(__svr4__) && !defined(__SVR4)
+#if !defined(__svr4__) && !defined(__SVR4) && !defined(__ELF__)
# ifndef RANLIBMAG
# define RANLIBMAG "__.SYMDEF"
# endif
OpenPOWER on IntegriCloud