Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pcc amd64 provides MACHINE_ARCH=x86_64 but pcc ...



details:   https://anonhg.NetBSD.org/src/rev/aebb6d89c4d5
branches:  trunk
changeset: 751492:aebb6d89c4d5
user:      plunky <plunky%NetBSD.org@localhost>
date:      Fri Feb 05 18:41:25 2010 +0000

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

diffstat:

 external/bsd/pcc/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 98b5318b2ac0 -r aebb6d89c4d5 external/bsd/pcc/Makefile.inc
--- a/external/bsd/pcc/Makefile.inc     Fri Feb 05 18:26:38 2010 +0000
+++ b/external/bsd/pcc/Makefile.inc     Fri Feb 05 18:41:25 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index