diff --git a/mpcdf_common.py b/mpcdf_common.py
index a24955bc659edf6c0e140be74e5089bf25c79721..51b9937f8b36b843592c59950e5d84fbf1ac7869 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 = ""