commit a2169a2f3d0113fe2876776d44d2434123738de1
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Sun Sep 18 00:02:39 2016 +0300

    disable _FORTIFY_SOURCE=2
    
    See https://github.com/neovim/neovim/issues/223 for details.

 neovim.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/neovim.spec b/neovim.spec
index 26ecdf7..692ee11 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -41,6 +41,11 @@ Suggests:    python3-neovim
 Suggests:      xsel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# gcc 4.0 and better turn on _FORTIFY_SOURCE=2 automatically. This currently
+# does not work with Neovim due to some uses of dynamically-sized structures.
+# See https://github.com/neovim/neovim/issues/223 for details.
+%define                filterout_c     -Wp,-D_FORTIFY_SOURCE=2
+
 %description
 Neovim is a refactor - and sometimes redactor - in the tradition of
 Vim, which itself derives from Stevie. It is not a rewrite, but a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/46240029af6be48964ef4129704801240bd56ef3

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to