net-p2p/litecoind: fix executable GNU stack.
authorAnthony G. Basile <blueness@gentoo.org>
Wed, 16 Dec 2015 17:37:15 +0000 (12:37 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 16 Dec 2015 17:37:15 +0000 (12:37 -0500)
Package-Manager: portage-2.2.24

net-p2p/litecoind/litecoind-0.10.2.2-r3.ebuild

index 9c14a513bc6decc43ee35bec430699ed9e34e841..c7f70686e16c64ed11f2dbd2c195d4a63ac1a1dc 100644 (file)
@@ -6,7 +6,7 @@ EAPI=5
 
 DB_VER="4.8"
 
-inherit autotools db-use eutils systemd user
+inherit autotools db-use eutils flag-o-matic systemd user
 
 MyPV="${PV/_/-}"
 MyPN="litecoin"
@@ -51,6 +51,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # To avoid executable GNU stack.
+       append-ldflags -Wl,-z,noexecstack
+
        local my_econf=
        if use upnp; then
                my_econf="${my_econf} --with-miniupnpc --enable-upnp-default"