summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-05 17:02:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-05 17:02:56 +0000
commit2822dccc94ac61b249dbc2ee34e36cb1b8f6a96a (patch)
tree9f6f1dd3b8edb9a1ffae1531735113569f25b63a /sys/arch/i386
parentf3cde3abd39f16dd05e8fefa4269232c03104599 (diff)
do not make bad machine@ links
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc
index 4d6274e7534..32c3a543de6 100644
--- a/sys/arch/i386/stand/Makefile.inc
+++ b/sys/arch/i386/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.31 2003/04/17 03:43:13 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.32 2003/07/05 17:02:55 deraadt Exp $
CFLAGS=${DEBUG} -Os -Wall -Werror
CFLAGS+= -fno-stack-protector
@@ -29,7 +29,7 @@ SACFLAGS+=-nostdinc -fno-builtin -fpack-struct
.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj)
.BEGIN:
- @([ -h machine ] || ln -s $(S)/arch/i386/include machine)
+ @([ X$(S) == X -o -h machine ] || ln -s $(S)/arch/i386/include machine)
.endif