summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/ethq')
-rw-r--r--sys-apps/ethq/ethq-9999.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index 76ff4fd29c74..ce1c594d966b 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -24,10 +24,9 @@ BDEPEND="virtual/pkgconfig"
src_prepare() {
default
- # Respect FLAGS
- sed -i \
- -e '/CXXFLAGS/s/= -O3/+=/' \
- -e 's/ -Werror//' \
+ # Respect FLAGS, remove Werror
+ sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+ -e '/CXXFLAGS/s/ -Werror//' \
-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
if ! use test ; then