]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
lib: fortify source example
authorElan Ruusamäe <glen@delfi.ee>
Wed, 12 Oct 2016 18:37:19 +0000 (21:37 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 12 Oct 2016 18:37:19 +0000 (21:37 +0300)
lib.spec

index 824395b0cd879d2388f36ba3dbf01bb0f897dba8..c8e0b28420fc094d3813bc037091f52c845b58d0 100644 (file)
--- 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
This page took 0.072306 seconds and 4 git commands to generate.