Source-Changes-HG archive

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

[src/trunk]: src/tests/net/fdpass Fix building with MKCOMPAT=no



details:   https://anonhg.NetBSD.org/src/rev/0505563d7bcd
branches:  trunk
changeset: 781493:0505563d7bcd
user:      adam <adam%NetBSD.org@localhost>
date:      Mon Sep 10 11:29:06 2012 +0000

description:
Fix building with MKCOMPAT=no

diffstat:

 tests/net/fdpass/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6f525a73a025 -r 0505563d7bcd tests/net/fdpass/Makefile
--- a/tests/net/fdpass/Makefile Mon Sep 10 08:50:37 2012 +0000
+++ b/tests/net/fdpass/Makefile Mon Sep 10 11:29:06 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/08/16 10:14:03 martin Exp $
+# $NetBSD: Makefile,v 1.3 2012/09/10 11:29:06 adam Exp $
 #
 
 .include <bsd.own.mk>
@@ -11,7 +11,7 @@
 MAN.fdpass64=    # empty
 BINDIR.fdpass64= ${TESTSDIR}
 
-.if ${MACHINE} == "sparc64" || ${MACHINE} == "amd64"
+.if (${MACHINE} == "sparc64" || ${MACHINE} == "amd64") && ${MKCOMPAT} != "no"
 COPTS.fdpass32.c       += -m32
 LDFLAGS.fdpass32       += -m32
 .endif



Home | Main Index | Thread Index | Old Index