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

gnupg: Remove -Werror=array-bounds from compiler flags


gnupg uses zero-length array tricks causing array-bounds warnings.

The warnings have been verifited to be harmless in 2.2.20; for extra
security, this should be re-checked after updating.

Removing -Werror=array-bounds here allows us to use -Werror=array-bounds
globally in OPTIMIZE_FOR=security mode.

Signed-off-by: default avatarBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
parent 41404006
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
# gnupg uses zero-length array tricks causing array-bounds warnings.
# The warnings have been verifited to be harmless in 2.2.20; for extra
# security, this should be re-checked after updating.
#
# Removing -Werror=array-bounds here allows us to use -Werror=array-bounds
# globally in OPTIMIZE_FOR=security mode.
TARGET_CFLAGS_remove = "-Werror=array-bounds"
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