[projects/template-specs] add format-security hack

glen glen at pld-linux.org
Fri Apr 17 15:50:06 CEST 2015


commit 31c122e08bd081f6be98f1dc0151df1c0a2a821e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 17 16:49:45 2015 +0300

    add format-security hack

 lib.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lib.spec b/lib.spec
index 5b23e81..f020fd3 100644
--- a/lib.spec
+++ b/lib.spec
@@ -32,6 +32,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # these are only here to help fixing quickly broken specs
 %define		filterout_ld	-Wl,--no-copy-dt-needed-entries
 %define		filterout_ld	-Wl,--as-needed
+# do not commit spec containing this (use for local testing only):
+%define		filterout_c	-Werror=format-security
 
 # Ignore file in __spec_install_post_check_so
 BuildRequires:	rpmbuild(macros) >= 1.583
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/eaf2b87bb2026727791a0d263b1e2cf6cb9bb9a4



More information about the pld-cvs-commit mailing list