commit:     7ae1d96cee5e9375c8b0f4df7ef4584dc3403872
Author:     Jelte Fennema <github-tech <AT> jeltef <DOT> nl>
AuthorDate: Sat Jun 14 14:10:11 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 14:10:11 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7ae1d96c

Use CFLAGS needed to get a working executable

Package-Manager: portage-2.2.10

---
 app-editors/neovim/ChangeLog          | 4 ++++
 app-editors/neovim/neovim-9999.ebuild | 7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-editors/neovim/ChangeLog b/app-editors/neovim/ChangeLog
index fe88baa..f48c782 100644
--- a/app-editors/neovim/ChangeLog
+++ b/app-editors/neovim/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Jun 2014; Jelte Fennema (JelteF) <[email protected]>
+  neovim-9999.ebuild:
+  Use CFLAGS needed to get a working executable
+
   10 May 2014; Jelte Fennema <[email protected]> neovim-9999.ebuild:
   Add new cmsgpack and lpeg dependencies to neovim.
 

diff --git a/app-editors/neovim/neovim-9999.ebuild 
b/app-editors/neovim/neovim-9999.ebuild
index 4b53e57..dee1bc5 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 if [ "${PV}" = "9999" ]; then
        EGIT_REPO_URI="git://github.com/neovim/neovim.git"
@@ -23,6 +23,11 @@ SLOT="0"
 KEYWORDS=""
 IUSE=""
 
+src_configure()  {
+       append-flags "-DNDEBUG -Wno-error -D_FORTIFY_SOURCE=1"
+       cmake-utils_src_configure
+}
+
 RDEPEND="app-admin/eselect-vi
        sys-libs/ncurses"
 DEPEND="${RDEPEND}

Reply via email to