llvm-3.8.0.src/build/tools/lldb/scripts/LLDBWrapPython.cpp: In function ‘PyObject* _wrap_SBError_SetErrorStringWithFormat__SWIG_3(PyObject*, PyObject*)’:
llvm-3.8.0.src/build/tools/lldb/scripts/LLDBWrapPython.cpp:21362:70: error: format not a string literal and no format arguments [-Werror=format-security]
result = (int)(arg1)->SetErrorStringWithFormat((char const *)arg2);
# strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
%define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
# strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
%define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
-# clang doesn't know it, and leaving it here would pollute llvm-config
+# clang doesn't know -fvar-tracking-assignments, and leaving it here would pollute llvm-config
+# -Werror=format-security is for swig
+# TODO: add - -Werror=format-security to tools/lldb/scripts/LLDBWrapPython.cpp
%define filterout_c -fvar-tracking-assignments
%define filterout_c -fvar-tracking-assignments
-%define filterout_cxx -fvar-tracking-assignments
+%define filterout_cxx -fvar-tracking-assignments -Werror=format-security
%define filterout_ccpp -fvar-tracking-assignments
# std::__once_call, std::__once_callable non-function symbols
%define filterout_ccpp -fvar-tracking-assignments
# std::__once_call, std::__once_callable non-function symbols