Skip to content
Snippets Groups Projects
Commit f982e7dc authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer
Browse files

util-linux: Remove -Werror=format-nonliteral from compiler flags


util-linux uses autogenerated non-literal format strings in its hexdump
code. Those strings have been verified to be safe in 2.35.1.

Removing -Werror=format-nonliteral here allows us to use
-Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode
while keeping util-linux building.

Signed-off-by: default avatarBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
parent 8b6eb65c
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
# util-linux uses autogenerated non-literal format strings in its hexdump
# code. Those strings have been verified to be safe in 2.35.1.
#
# Removing -Werror=format-nonliteral here allows us to use
# -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode
# while keeping util-linux building.
TARGET_CFLAGS_remove = "-Werror=format-nonliteral"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment