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

ncurses: remove -Werror=format-nonliteral from compiler flags


ncurses' termcap to terminfo converter uses a non-literal
format string.
This has been verified to be harmless in 6.2 (the "unsafe"
use of sscanf 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 ncurses building.

Signed-off-by: default avatarBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
parent f83bc39a
No related branches found
No related tags found
Loading
Loading
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