From: Rob Clark <robdclark@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/5] kbuild: Enable -fshort-wchar
Date: Sat, 9 Sep 2017 06:47:39 -0400 [thread overview]
Message-ID: <20170909104746.5948-2-robdclark@gmail.com> (raw)
In-Reply-To: <20170909104746.5948-1-robdclark@gmail.com>
EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit
chars instead of 32bit chars). But rather than enabling -fshort-wchar
conditionally if EFI_LOADER is enabled, it was deemed preferrable to
globally switch.
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 5bb3b09115..d635de12ab 100644
--- a/Makefile
+++ b/Makefile
@@ -360,6 +360,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__
KBUILD_CFLAGS := -Wall -Wstrict-prototypes \
-Wno-format-security \
-fno-builtin -ffreestanding
+KBUILD_CFLAGS += -fshort-wchar
KBUILD_AFLAGS := -D__ASSEMBLY__
# Read UBOOTRELEASE from include/config/uboot.release (if it exists)
--
2.13.5
next prev parent reply other threads:[~2017-09-09 10:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-09 10:47 [U-Boot] [PATCH v2 0/5] vsprintf and short-wchar Rob Clark
2017-09-09 10:47 ` Rob Clark [this message]
2017-09-11 1:57 ` [U-Boot] [PATCH v2 1/5] kbuild: Enable -fshort-wchar Masahiro Yamada
2017-09-13 2:28 ` [U-Boot] [U-Boot,v2,1/5] " Tom Rini
2017-09-09 10:47 ` [U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers Rob Clark
2017-09-11 14:13 ` Alexander Graf
2017-09-11 14:34 ` Rob Clark
2017-09-11 14:41 ` Alexander Graf
2017-09-13 2:28 ` [U-Boot] [U-Boot,v2,2/5] " Tom Rini
2017-09-09 10:47 ` [U-Boot] [PATCH v2 3/5] vsprintf.c: add UTF-16 string (%ls) support Rob Clark
2017-09-12 12:29 ` Simon Glass
2017-09-13 2:28 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-09 10:47 ` [U-Boot] [PATCH v2 4/5] vsprintf.c: add GUID printing Rob Clark
2017-09-12 12:28 ` Simon Glass
2017-09-13 2:28 ` [U-Boot] [U-Boot,v2,4/5] " Tom Rini
2017-09-09 10:47 ` [U-Boot] [PATCH v2 5/5] examples: add fallback memcpy Rob Clark
2017-09-13 2:28 ` [U-Boot] [U-Boot,v2,5/5] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170909104746.5948-2-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox