sys-process/procenv: Drop -Werror and -fstack-protector (bug #580808).

Package-Manager: portage-2.2.28
This commit is contained in:
Jeroen Roovers
2016-04-22 14:10:39 +02:00
parent 1a9d88981b
commit 6ba532c9af
2 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,6 @@
-pedantic \
-std=gnu99 \
-Wall -Wunused \
- -fstack-protector \
-Wformat
@@ -13,7 +12,6 @@
AM_CFLAGS += -fdata-sections -ffunction-sections
# keep it tight
-AM_CFLAGS += -Werror
bin_PROGRAMS = procenv

View File

@@ -4,7 +4,7 @@
EAPI=5
inherit eutils
inherit autotools eutils
DESCRIPTION="command-line utility to show process environment"
HOMEPAGE="https://github.com/jamesodhunt/procenv"
@@ -21,5 +21,9 @@ DEPEND="
"
src_prepare() {
epatch "${FILESDIR}"/${P}-sysmacros.patch
epatch \
"${FILESDIR}"/${P}-sysmacros.patch \
"${FILESDIR}"/${P}-flags.patch
eautoreconf
}