[projects/template-specs] lib: fortify source example
glen
glen at pld-linux.org
Wed Oct 12 20:39:04 CEST 2016
commit c392e5f506ca88984b8fa802c20ad361b75c8fc8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 12 21:37:19 2016 +0300
lib: fortify source example
lib.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib.spec b/lib.spec
index 824395b..c8e0b28 100644
--- a/lib.spec
+++ b/lib.spec
@@ -34,6 +34,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define filterout_ld -Wl,--as-needed
# do not commit spec containing this (use for local testing only):
%define filterout_c -Werror=format-security
+%define filterout_cpp -D_FORTIFY_SOURCE=.
%define filterout_cxx -Werror=format-security
# Ignore file in __spec_install_post_check_so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/d147b63cb9b494f4e0e186538e90b50e5dba5d8e
More information about the pld-cvs-commit
mailing list