Module Name:    src
Committed By:   christos
Date:           Tue Aug 15 19:56:07 UTC 2023

Modified Files:
        src/tools/gdb: Makefile

Log Message:
override the override


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/tools/gdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gdb/Makefile
diff -u src/tools/gdb/Makefile:1.45 src/tools/gdb/Makefile:1.46
--- src/tools/gdb/Makefile:1.45	Mon Aug 14 18:41:34 2023
+++ src/tools/gdb/Makefile	Tue Aug 15 15:56:07 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.45 2023/08/14 22:41:34 christos Exp $
+#	$NetBSD: Makefile,v 1.46 2023/08/15 19:56:07 christos Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -51,6 +51,9 @@ CXXADDFLAGS+= -D__STDC_FORMAT_MACROS
 CXXADDFLAGS+= -D__STDC_LIMIT_MACROS
 CXXADDFLAGS+= -D__STDC_CONSTANT_MACROS
 HOST_CXXFLAGS+= ${CXXADDFLAGS}
+# Since we are using gmake -e the environment overwrites CPPFLAGS
+# so we overwrite it again here! (see Makefile.gnuhost)
+HOST_CPPFLAGS+= -I${TOOLDIR}/include
 
 NEWCONFIGDIR?=	${.CURDIR}/../..
 MKNATIVE?=	${.CURDIR}/mknative-gdb

Reply via email to