commit: 681843319ce07628158193753b0f77391625e252 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> AuthorDate: Wed Aug 23 21:07:40 2017 +0000 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> CommitDate: Wed Aug 23 21:07:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68184331
dev-lisp/sbcl: Fixes user CFLAGS and LDFLAGS substitution. Gentoo-Bug: 620532 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-lisp/sbcl/sbcl-1.3.20.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-lisp/sbcl/sbcl-1.3.20.ebuild b/dev-lisp/sbcl/sbcl-1.3.20.ebuild index 3665ca2582b..a6c44f0043b 100644 --- a/dev-lisp/sbcl/sbcl-1.3.20.ebuild +++ b/dev-lisp/sbcl/sbcl-1.3.20.ebuild @@ -107,9 +107,11 @@ src_prepare() { eapply_user - # bug #526194 - sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \ - -e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS} -g@" \ + # bugs #526194 and #620532 + sed -e "s@CFLAGS +=.*\$@CFLAGS = ${CFLAGS} -Wall -Wsign-compare -Wpointer-arith@" \ + -e "s@LINKFLAGS += -g\$@LINKFLAGS = ${LDFLAGS}@" \ + -e "s@LINKFLAGS += -no-pie\$@LINKFLAGS = ${LDFLAGS} -no-pie@" \ + -e "s@LINKFLAGS += -nopie\$@LINKFLAGS = ${LDFLAGS} -nopie@" \ -i src/runtime/GNUmakefile || die sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \