Source-Changes-HG archive

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

[src/trunk]: src/share/mk Change rule for x86 link to not be x86 dependent



details:   https://anonhg.NetBSD.org/src/rev/b5611bd50863
branches:  trunk
changeset: 789537:b5611bd50863
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 21 15:26:44 2013 +0000

description:
Change rule for x86 link to not be x86 dependent

diffstat:

 share/mk/bsd.klinks.mk |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 724aaccf9ef9 -r b5611bd50863 share/mk/bsd.klinks.mk
--- a/share/mk/bsd.klinks.mk    Wed Aug 21 15:24:27 2013 +0000
+++ b/share/mk/bsd.klinks.mk    Wed Aug 21 15:26:44 2013 +0000
@@ -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 @@
            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



Home | Main Index | Thread Index | Old Index