Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgcc use LIBGCC_MACHINE_ARCH for the...



details:   https://anonhg.NetBSD.org/src/rev/503fb7659521
branches:  trunk
changeset: 348526:503fb7659521
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 22 20:33:28 2016 +0000

description:
use LIBGCC_MACHINE_ARCH for the compat build

diffstat:

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

diffs (18 lines):

diff -r 4cec438bd241 -r 503fb7659521 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Sat Oct 22 18:04:40 2016 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Sat Oct 22 20:33:28 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.34 2016/10/22 03:55:03 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.35 2016/10/22 20:33:28 christos Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -22,7 +22,7 @@
 CPPFLAGS+=     ${GCPPFLAGS:M-m*} ${GCPPFLAGS:M-f*}
 CPPFLAGS+=     ${G_EXTRA_HEADERS:M/*:H:u:S/^/-I/g}
 CPPFLAGS+=     -I${DIST}/libgcc -I${DIST}/libgcc/config
-.if ${MACHINE_ARCH} == "x86_64"
+.if ${LIBGCC_MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=     -I${DIST}/libgcc/config/i386
 .else
 CPPFLAGS+=     -I${DIST}/libgcc/config/${LIBGCC_MACHINE_ARCH}



Home | Main Index | Thread Index | Old Index