Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread_dbg Match ARCHSUBDIR logic from libpthread.
details: https://anonhg.NetBSD.org/src/rev/af53aa951eea
branches: trunk
changeset: 780284:af53aa951eea
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 19 06:33:48 2012 +0000
description:
Match ARCHSUBDIR logic from libpthread.
diffstat:
lib/libpthread_dbg/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f9ee4d828eae -r af53aa951eea lib/libpthread_dbg/Makefile
--- a/lib/libpthread_dbg/Makefile Thu Jul 19 06:33:03 2012 +0000
+++ b/lib/libpthread_dbg/Makefile Thu Jul 19 06:33:48 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2012/03/21 05:37:43 matt Exp $
+# $NetBSD: Makefile,v 1.10 2012/07/19 06:33:48 joerg Exp $
#
WARNS?= 5
@@ -7,7 +7,10 @@
LIBPDIR= ${.CURDIR}/../libpthread
-.if exists(${LIBPDIR}/arch/${MACHINE_ARCH})
+.if defined(PTHREAD_MACHINE_ARCH) && !empty(PTHREAD_MACHINE_ARCH) && \
+ exists(${LIBPDIR}/arch/${PTHREAD_MACHINE_ARCH})
+ARCHSUBDIR= ${PTHREAD_MACHINE_ARCH}
+.elif exists(${LIBPDIR}/arch/${MACHINE_ARCH})
ARCHSUBDIR= ${MACHINE_ARCH}
.elif exists(${LIBPDIR}/arch/${MACHINE_CPU})
ARCHSUBDIR= ${MACHINE_CPU}
Home |
Main Index |
Thread Index |
Old Index