__udivdi3 isn't included in sparc compat libc on sparc64, so use
ARCHSUBDIR instead of MACHINE_ARCH for checking whether to include quad/Makefile.inc. This fixes undefined symbol __udivdi3 in /libexec/ld.elf_so-sparc on sparc64 which is the cause of failure of hello32 test in toolchain/cc/t_hello.
This commit is contained in:
parent
035869f9d4
commit
a2925d9cef
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.145 2011/05/27 17:06:55 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.146 2011/06/19 11:31:55 nakayama Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
|
@ -75,7 +75,7 @@ COMPATDIR=${.CURDIR}/compat
|
|||
.include "${.CURDIR}/net/Makefile.inc"
|
||||
.include "${.CURDIR}/nameser/Makefile.inc"
|
||||
.include "${.CURDIR}/nls/Makefile.inc"
|
||||
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "sparc64")
|
||||
.if (${MACHINE_ARCH} != "alpha") && (${ARCHSUBDIR} != "sparc64")
|
||||
.include "${.CURDIR}/quad/Makefile.inc"
|
||||
.endif
|
||||
.if (${USE_LIBTRE} == "yes")
|
||||
|
|
Loading…
Reference in New Issue