diff --git a/mpcdf_common.py b/mpcdf_common.py
index 76b7d50189e221b162498f7a2a0ff854868acf88..1d2970c26bddf6877ba50eda0a5f154f1815cc8c 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -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 -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 = ""