Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/usr.bin Use GMP_MACHINE_ARCH which is MACH...



details:   https://anonhg.NetBSD.org/src/rev/8a9260282937
branches:  trunk
changeset: 789043:8a9260282937
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Aug 05 03:22:45 2013 +0000

description:
Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].

diffstat:

 external/gpl3/gcc/usr.bin/Makefile.inc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 858ce23fb457 -r 8a9260282937 external/gpl3/gcc/usr.bin/Makefile.inc
--- a/external/gpl3/gcc/usr.bin/Makefile.inc    Mon Aug 05 03:06:51 2013 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.inc    Mon Aug 05 03:22:45 2013 +0000
@@ -1,10 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.12 2012/12/02 12:55:27 apb Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2013/08/05 03:22:45 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include <bsd.own.mk>
 
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+
 TOP=           ${NETBSDSRCDIR}
 DIST=          ${TOP}/external/gpl3/gcc/dist
 
@@ -14,7 +16,7 @@
 HOST_CPPFLAGS+=        -I${.CURDIR}/..
 
 # Link in the GMP/MPFR/MPC headers since we don't install them
-BUILDSYMLINKS+=        ${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${MACHINE_ARCH}/gmp.h gmp.h
+BUILDSYMLINKS+=        ${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}/gmp.h gmp.h
 BUILDSYMLINKS+=        ${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpfr.h mpfr.h
 BUILDSYMLINKS+=        ${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpf2mpfr.h mpf2mpfr.h
 BUILDSYMLINKS+=        ${NETBSDSRCDIR}/external/lgpl2/mpc/dist/src/mpc.h mpc.h



Home | Main Index | Thread Index | Old Index