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

openssl: Remove -Werror=format-nonliteral from compiler flags


openssl's opt tool uses a non-literal format string for
help texts.
This has been verified to be harmless in 1.1.1k (the "unsafe"
use of a printf style function happens only with hardcoded,
safe strings).

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

Signed-off-by: default avatarBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
parent 53aa1109
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
# openssl's opt tool uses a non-literal format string for
# help texts.
# This has been verified to be harmless in 1.1.1k (the "unsafe"
# use of a printf style function happens only with hardcoded,
# safe strings).
#
# Removing -Werror=format-nonliteral here allows us to use
# -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode
# while keeping openssl 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