Module Name: src
Committed By: christos
Date: Mon Aug 7 16:52:53 UTC 2023
Modified Files:
src/external/gpl3/gdb/lib/libgdb: Makefile
Log Message:
Prevent us from using the phony_iconv_open(). Our iconv_open does not take
"wchar_t" as an argument, so define __STDC_ISO_10646__
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/gdb/lib/libgdb/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb/lib/libgdb/Makefile:1.33 src/external/gpl3/gdb/lib/libgdb/Makefile:1.34
--- src/external/gpl3/gdb/lib/libgdb/Makefile:1.33 Mon Jul 31 13:02:08 2023
+++ src/external/gpl3/gdb/lib/libgdb/Makefile Mon Aug 7 12:52:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2023/07/31 17:02:08 christos Exp $
+# $NetBSD: Makefile,v 1.34 2023/08/07 16:52:52 christos Exp $
NOCTF=
HOSTPROG_CXX= 1
@@ -40,7 +40,7 @@ CPPFLAGS+= -I${.CURDIR} \
-DTARGET_SYSTEM_ROOT=\"\" \
-DTARGET_SYSTEM_ROOT_RELOCATABLE=0 \
-DBINDIR=\"${BINDIR}\" \
- ${GCPPFLAGS:M-D*}
+ ${GCPPFLAGS:M-D*} -D__STDC_ISO_10646__
CWARNFLAGS.clang+= -Wno-switch