From 25d537b91cb53664a9e9f0e15f96aadeb4d51e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= <dev@stellardeath.org> Date: Wed, 29 May 2024 13:17:00 +0200 Subject: [PATCH] Add '-Wformat' to Optflags for RHEL-9 --- mpcdf_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpcdf_common.py b/mpcdf_common.py index a24955b..51b9937 100644 --- a/mpcdf_common.py +++ b/mpcdf_common.py @@ -104,7 +104,7 @@ def dist_prjconf_tags(distribution): Substitute: c++_compiler gcc-c++ Substitute: ca-certificates-mozilla ca-certificates # Add -fno-omit-frame-pointer to standard flags - Optflags: x86_64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer + Optflags: x86_64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer """).strip() res = "" -- GitLab