From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB7C61396D0 for ; Wed, 23 Aug 2017 21:01:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31271E0CBD; Wed, 23 Aug 2017 21:01:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09D64E0CBD for ; Wed, 23 Aug 2017 21:01:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2771F341812 for ; Wed, 23 Aug 2017 21:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CE87803B for ; Wed, 23 Aug 2017 21:01:29 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1503521861.6b57a11eede097ad92883e6a6f100e752a2d5740.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/sbcl/ X-VCS-Repository: proj/lisp X-VCS-Files: dev-lisp/sbcl/sbcl-1.3.20.ebuild X-VCS-Directories: dev-lisp/sbcl/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 6b57a11eede097ad92883e6a6f100e752a2d5740 X-VCS-Branch: master Date: Wed, 23 Aug 2017 21:01:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9b644b68-31f0-44ba-aa1d-f49531df8f45 X-Archives-Hash: ae9ee5ac66ff0a447beb9e0fd8f9ae1a commit: 6b57a11eede097ad92883e6a6f100e752a2d5740 Author: Chema Alonso Josa gentoo org> AuthorDate: Wed Aug 23 20:57:41 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Wed Aug 23 20:57:41 2017 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=6b57a11e dev-lisp/sbcl: Fixes user CFLAGS and LDFLAGS substitution Gentoo-Bug: 620532 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 3665ca25..a6c44f00 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\"@" \