Module Name: src
Committed By: matt
Date: Wed Aug 21 15:26:44 UTC 2013
Modified Files:
src/share/mk: bsd.klinks.mk
Log Message:
Change rule for x86 link to not be x86 dependent
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/mk/bsd.klinks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.klinks.mk
diff -u src/share/mk/bsd.klinks.mk:1.10 src/share/mk/bsd.klinks.mk:1.11
--- src/share/mk/bsd.klinks.mk:1.10 Thu May 2 04:14:28 2013
+++ src/share/mk/bsd.klinks.mk Wed Aug 21 15:26:44 2013
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.klinks.mk,v 1.10 2013/05/02 04:14:28 matt Exp $
+# $NetBSD: bsd.klinks.mk,v 1.11 2013/08/21 15:26:44 matt Exp $
#
.include <bsd.own.mk>
@@ -59,12 +59,10 @@ CLEANFILES+= x86
ln -s $S/arch/sparc/include sparc
.endif
.if ${KLINK_MACHINE} == "amd64"
- @rm -f x86 && \
- ln -s $S/arch/x86/include x86
@rm -f i386 && \
ln -s $S/arch/i386/include i386
.endif
-.if ${MACHINE_CPU} == "i386"
+.if ${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64"
@rm -f x86 && \
ln -s $S/arch/x86/include x86
.endif