From b8e5f186fe18a3e82d3724a158257d75963b7bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= <dev@stellardeath.org>
Date: Tue, 18 Jun 2024 09:17:03 +0200
Subject: [PATCH] Remove -D_GLIBCXX_ASSERTIONS 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 c7591d6..3a1ec5e 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 -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
+        Optflags: x86_64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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