Masanori Ogino uploaded patch set #2 to this change.

View Change

crossgcc: Fix libcpp to address -Wformat-security.

On some systems where the system compiler enables `-Wformat-security
-Werror=format-security` options by default, building libcpp fails
because the code passes a variable directly as a format string.

This change addresses this problem by patching the affected code.

Tested with the default compiler of Nixpkgs unstable, GCC 9.3.0 with the
options described above enabled by default.

Signed-off-by: Masanori Ogino <mogino@acm.org>
Change-Id: Ibf3c9e79ce10cd400c9f7ea40dd6de1ab81b50e2
---
A util/crossgcc/patches/gcc-8.3.0_libcpp.patch
1 file changed, 56 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/45311/2

To view, visit change 45311. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf3c9e79ce10cd400c9f7ea40dd6de1ab81b50e2
Gerrit-Change-Number: 45311
Gerrit-PatchSet: 2
Gerrit-Owner: Masanori Ogino <masanori.ogino@gmail.com>
Gerrit-MessageType: newpatchset