Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Since earm is new, don't bother building the compat...



details:   https://anonhg.NetBSD.org/src/rev/ee79aa274487
branches:  trunk
changeset: 786197:ee79aa274487
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Apr 19 16:53:18 2013 +0000

description:
Since earm is new, don't bother building the compat libc code since there
is nothing that can use it.

diffstat:

 lib/libc/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f71191e3509f -r ee79aa274487 lib/libc/Makefile
--- a/lib/libc/Makefile Fri Apr 19 16:50:22 2013 +0000
+++ b/lib/libc/Makefile Fri Apr 19 16:53:18 2013 +0000
@@ -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 @@
 # 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 @@
 # 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"



Home | Main Index | Thread Index | Old Index