diff options
-rw-r--r-- | regress/sys/arch/i386/ldt/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/sys/arch/i386/ldt/Makefile b/regress/sys/arch/i386/ldt/Makefile index 78528bd88a6..6d98c5a12f1 100644 --- a/regress/sys/arch/i386/ldt/Makefile +++ b/regress/sys/arch/i386/ldt/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2002/09/02 20:01:43 avsm Exp $ +# $OpenBSD: Makefile,v 1.5 2004/03/02 07:07:34 david Exp $ # $NetBSD: Makefile,v 1.3 1995/04/20 22:42:19 cgd Exp $ # # C Optimizer (-O) breaks this program - don't use !! @@ -8,7 +8,9 @@ PROG= testldt DPADD+= ${LIBARCH} LDADD+= -li386 -.if ${MACHINE_ARCH} != "i386" +USERLDT!=sysctl -n machdep.userldt + +.if ${MACHINE_ARCH} != "i386" || $(USERLDT) == 0 REGRESS_SKIP="yes" .endif |