Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gdb Fix the host build of aarch64 with clang
details: https://anonhg.NetBSD.org/src/rev/5f92ae6131ab
branches: trunk
changeset: 348303:5f92ae6131ab
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 14 14:41:59 2016 +0000
description:
Fix the host build of aarch64 with clang
diffstat:
tools/gdb/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r a64d3fe34ea1 -r 5f92ae6131ab tools/gdb/Makefile
--- a/tools/gdb/Makefile Fri Oct 14 14:41:32 2016 +0000
+++ b/tools/gdb/Makefile Fri Oct 14 14:41:59 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/10/12 18:43:40 christos Exp $
+# $NetBSD: Makefile,v 1.29 2016/10/14 14:41:59 christos Exp $
.include <bsd.own.mk>
@@ -17,10 +17,12 @@
.include "${.CURDIR}/../Makefile.gmakehost"
-CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
+CCADDFLAGS+= --sysroot=${DESTDIR} -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
+LDADDFLAGS+= -L${DESTDIR}/lib -L${DESTDIR}/usr/lib
CXXADDFLAGS+= -D__STDC_FORMAT_MACROS
CXXADDFLAGS+= -D__STDC_LIMIT_MACROS
CXXADDFLAGS+= -D__STDC_CONSTANT_MACROS
+HOST_CXXFLAGS+= ${CXXADDFLAGS}
NEWCONFIGDIR?= ${.CURDIR}/../..
MKNATIVE?= ${.CURDIR}/mknative-gdb
Home |
Main Index |
Thread Index |
Old Index