[packages/firefox52-esr] missed cflags filters for clang

atler atler at pld-linux.org
Thu Jan 11 18:53:29 CET 2018


commit 33c3f774e2431da553cddb538c07f4a68ffca378
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 11 18:52:32 2018 +0100

    missed cflags filters for clang

 firefox52-esr.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/firefox52-esr.spec b/firefox52-esr.spec
index 8d54e5b..383c3f2 100644
--- a/firefox52-esr.spec
+++ b/firefox52-esr.spec
@@ -134,6 +134,12 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		filterout_cpp		-D_FORTIFY_SOURCE=[0-9]+
 
+%if %{with clang}
+%define		filterout		-fvar-tracking-assignments
+%else
+%define		filterout		-Werror=format-security
+%endif
+
 # don't satisfy other packages
 %define		_noautoprovfiles	%{_libdir}/%{name}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox52-esr.git/commitdiff/33c3f774e2431da553cddb538c07f4a68ffca378



More information about the pld-cvs-commit mailing list