summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2026-01-23 20:07:20 -0500
committerelijah-thomas774 <elijahthomas774@gmail.com>2026-01-23 20:07:20 -0500
commit3b0d71f5e20b70998f3ba4fecb7a6366ea01c899 (patch)
treed06db862bb09471c34ae5a7833bcc6e27db9983c
parentf2c31dd3c575ef3579079e5c558c24c105017eef (diff)
add wchar flag for better clangd parsing
-rw-r--r--configure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index ccc67a98..a00ce2c0 100644
--- a/configure.py
+++ b/configure.py
@@ -194,6 +194,11 @@ config.reconfig_deps = []
# Can be overridden in libraries or objects
config.scratch_preset_id = None
+# make wchar 16 bits
+config.extra_clang_flags = [
+ "-fshort-wchar",
+]
+
# Base flags, common to most GC/Wii games.
# Generally leave untouched, with overrides added below.
cflags_base = [