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

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


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

The warnings have been verified to be harmless in 1.8.5; 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 9f8d8da4
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
# libgcrypt uses zero-length array tricks causing array-bounds warnings.
# The warnings have been verified to be harmless in 1.8.5; 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