Module Name:    src
Committed By:   joerg
Date:           Sat Jan 18 21:26:46 UTC 2014

Modified Files:
        src/lib/libc/compiler_rt: Makefile.inc

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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/compiler_rt/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.11 src/lib/libc/compiler_rt/Makefile.inc:1.12
--- src/lib/libc/compiler_rt/Makefile.inc:1.11	Sat Jan 18 03:28:28 2014
+++ src/lib/libc/compiler_rt/Makefile.inc	Sat Jan 18 21:26:46 2014
@@ -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 @@ GENERIC_SRCS+= \
 	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 \

Reply via email to