Module Name:    src
Committed By:   adam
Date:           Mon Sep 10 11:29:06 UTC 2012

Modified Files:
        src/tests/net/fdpass: Makefile

Log Message:
Fix building with MKCOMPAT=no


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/net/fdpass/Makefile

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

Modified files:

Index: src/tests/net/fdpass/Makefile
diff -u src/tests/net/fdpass/Makefile:1.2 src/tests/net/fdpass/Makefile:1.3
--- src/tests/net/fdpass/Makefile:1.2	Thu Aug 16 10:14:03 2012
+++ src/tests/net/fdpass/Makefile	Mon Sep 10 11:29:06 2012
@@ -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 @@ PROGS=          fdpass64 fdpass32
 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

Reply via email to