From 7d19b890df2ef9f068cf5a99d1cc6513c5d0049e Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 19 Apr 2013 16:53:18 +0000 Subject: [PATCH] Since earm is new, don't bother building the compat libc code since there is nothing that can use it. --- lib/libc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 033a2ee9d391..ad29adb383fb 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.150 2013/04/12 19:58:45 joerg Exp $ +# $NetBSD: Makefile,v 1.151 2013/04/19 16:53:18 matt Exp $ # @(#)Makefile 8.2 (Berkeley) 2/3/94 # # All library objects contain sccsid strings by default; they may be @@ -44,6 +44,7 @@ assym.h: ${ARCHDIR}/genassym.cf # The following controls how to build compatibility code for old NetBSD # binaries. If BUILD_LEGACY is yes, then we build a separate library; otherwise # we include the code in libc. +.if !empty(MACHINE_ARCH:Mearm*) BUILD_LEGACY?= no .if "${BUILD_LEGACY}" == "yes" SUBDIR=compat @@ -54,6 +55,7 @@ COMPATDIR=${.CURDIR}/compat # Marker for compat code that can't be easily isolated CPPFLAGS+= -D__BUILD_LEGACY .endif +.endif .include "${.CURDIR}/../../common/lib/libc/Makefile.inc" .include "${.CURDIR}/atomic/Makefile.inc"