From f30bed50f18566190979cde0412e9919b0934a44 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Feb 2016 14:15:32 -0500 Subject: [PATCH] app-arch/unzip: expand toolchain sed to cover more cases #575710 --- app-arch/unzip/unzip-6.0-r3.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app-arch/unzip/unzip-6.0-r3.ebuild b/app-arch/unzip/unzip-6.0-r3.ebuild index 210563bcb5a1..a1ea7610becc 100644 --- a/app-arch/unzip/unzip-6.0-r3.ebuild +++ b/app-arch/unzip/unzip-6.0-r3.ebuild @@ -25,13 +25,13 @@ S="${WORKDIR}/${MY_P}" src_prepare() { epatch "${FILESDIR}"/${P}-no-exec-stack.patch use natspec && epatch "${FILESDIR}/${PN}-6.0-natspec.patch" #275244 - sed -i \ + sed -i -r \ -e '/^CFLAGS/d' \ - -e '/CFLAGS/s:-O[0-9]\?:$(CFLAGS) $(CPPFLAGS):' \ + -e '/CFLAGS/s:-O[0-9]?:$(CFLAGS) $(CPPFLAGS):' \ -e '/^STRIP/s:=.*:=true:' \ - -e "s:\:CC=\"$(tc-getCC)\":" \ - -e "s:\:LD=\"$(tc-getCC)\":" \ - -e "s:\:AS=\"$(tc-getCC)\":" \ + -e "s:\:CC=\"$(tc-getCC)\":" \ + -e "s:\:LD=\"$(tc-getCC)\":" \ + -e "s:\:AS=\"$(tc-getCC)\":" \ -e 's:LF2 = -s:LF2 = :' \ -e 's:LF = :LF = $(LDFLAGS) :' \ -e 's:SL = :SL = $(LDFLAGS) :' \ -- 2.26.2