Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ldd Do not set MLIBDIR if MKCOMPAT=no
details: https://anonhg.NetBSD.org/src/rev/22a9ad36a205
branches: trunk
changeset: 338877:22a9ad36a205
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 13 20:38:52 2015 +0000
description:
Do not set MLIBDIR if MKCOMPAT=no
diffstat:
usr.bin/ldd/Makefile.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 19a6459c269d -r 22a9ad36a205 usr.bin/ldd/Makefile.inc
--- a/usr.bin/ldd/Makefile.inc Sat Jun 13 19:52:58 2015 +0000
+++ b/usr.bin/ldd/Makefile.inc Sat Jun 13 20:38:52 2015 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile.inc,v 1.5 2013/03/20 15:18:42 macallan Exp $
+# $NetBSD: Makefile.inc,v 1.6 2015/06/13 20:38:52 martin Exp $
WARNS?= 3 # XXX: -Wsign-compare issues ld.elf_so source
+.if ${MKCOMPAT} != "no"
+
.if ${MACHINE_ARCH} == "sparc64"
MLIBDIR= sparc
.endif
@@ -21,6 +23,8 @@
CPPFLAGS+= -DLDD_ELF64 -DMIPS_N32
.endif
+.endif # MKCOMPAT
+
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
Home |
Main Index |
Thread Index |
Old Index