Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compiler_rt Must use LIBC_MACHINE_ARCH for deciding...



details:   https://anonhg.NetBSD.org/src/rev/f272d57dba4a
branches:  trunk
changeset: 326112:f272d57dba4a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Jan 18 21:26:46 2014 +0000

description:
Must use LIBC_MACHINE_ARCH for deciding whether 64bit support code is
neded. Otherwise e.g. i386 compat libs are broken.

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ef6bef5800ea -r f272d57dba4a lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Sat Jan 18 20:40:27 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Sat Jan 18 21:26:46 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2014/01/18 03:28:28 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.12 2014/01/18 21:26:46 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -145,7 +145,7 @@
        popcountdi2.c \
        subvdi3.c
 
-.if empty(MACHINE_ARCH:M*64*) && ${MACHINE_ARCH} != "alpha"
+.if empty(LIBC_MACHINE_ARCH:M*64*) && ${LIBC_MACHINE_ARCH} != "alpha"
 GENERIC_SRCS+= \
        cmpdi2.c \
        ashldi3.c \



Home | Main Index | Thread Index | Old Index