Module Name:    src
Committed By:   plunky
Date:           Fri Feb  5 18:41:25 UTC 2010

Modified Files:
        src/external/bsd/pcc: Makefile.inc

Log Message:
amd64 provides MACHINE_ARCH=x86_64 but pcc wants TARGMACH=amd64. handle that


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/pcc/Makefile.inc

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

Modified files:

Index: src/external/bsd/pcc/Makefile.inc
diff -u src/external/bsd/pcc/Makefile.inc:1.6 src/external/bsd/pcc/Makefile.inc:1.7
--- src/external/bsd/pcc/Makefile.inc:1.6	Fri Feb  5 17:18:31 2010
+++ src/external/bsd/pcc/Makefile.inc	Fri Feb  5 18:41:25 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.6 2010/02/05 17:18:31 plunky Exp $
+#	$NetBSD: Makefile.inc,v 1.7 2010/02/05 18:41:25 plunky Exp $
 
 PCC_DIR:=${.PARSEDIR}
 PCC_DIST=${PCC_DIR}/dist/pcc
@@ -8,6 +8,8 @@
 
 .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
 TARGMACH = mips
+.elif ${MACHINE_ARCH} == "x86_64"
+TARGMACH = amd64
 .else
 TARGMACH = ${MACHINE_ARCH}
 .endif

Reply via email to