make depend does not like multi-word compiler.

This commit is contained in:
christos 2017-11-29 21:22:36 +00:00
parent f0decf0c14
commit fee235007f
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2017/11/28 22:04:52 christos Exp $
# $NetBSD: Makefile,v 1.12 2017/11/29 21:22:36 christos Exp $
NOCTF=
.include <bsd.own.mk>
@ -89,9 +89,9 @@ DPADD+= ${LIBEXPAT} ${LIBLZMA} ${LIBZ} ${LIBCURSES} ${LIBINTL} ${LIBM} ${LIBKVM
.include <bsd.prog.mk>
# Force c++
HOST_CC:= ${HOST_CXX} -std=gnu++11 -Wno-error=stack-protector
CC:= ${CXX} -std=gnu++11 -Wno-error=stack-protector
CFLAGS:= ${CXXFLAGS}
HOST_CC:= ${HOST_CXX}
CC:= ${CXX}
CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2017/11/29 03:58:17 christos Exp $
# $NetBSD: Makefile,v 1.9 2017/11/29 21:22:36 christos Exp $
NOCTF=
.include "../Makefile.inc"
@ -26,9 +26,9 @@ NOMAN= # defined
.include <bsd.prog.mk>
# Force c++
HOST_CC:= ${HOST_CXX} -std=gnu++11 -Wno-error=stack-protector
CC:= ${CXX} -std=gnu++11 -Wno-error=stack-protector
CFLAGS:= ${CXXFLAGS}
HOST_CC:= ${HOST_CXX}
CC:= ${CXX}
CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
LIBOPCODESDIR!= cd ${.CURDIR}/../../lib/libopcodes && ${PRINTOBJDIR}
LIBBFDDIR!= cd ${.CURDIR}/../../lib/libbfd && ${PRINTOBJDIR}