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 154FC139084 for ; Sun, 10 Dec 2017 23:58:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1349AE0F6D; Sun, 10 Dec 2017 23:58:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E69C6E0F6D for ; Sun, 10 Dec 2017 23:58:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 46ABF33BF55 for ; Sun, 10 Dec 2017 23:58:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D602AAE6F for ; Sun, 10 Dec 2017 23:58:17 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1512950210.378170ef0a5bcc0c7511badf188575b7e6055ccc.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-18.59-r11.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 378170ef0a5bcc0c7511badf188575b7e6055ccc X-VCS-Branch: master Date: Sun, 10 Dec 2017 23:58:17 +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: 284d9af2-4ce9-43f3-b3b1-b4e3210a588b X-Archives-Hash: 9b4d4d6abf4bf3b1171df0597fdc820d commit: 378170ef0a5bcc0c7511badf188575b7e6055ccc Author: Ulrich Müller gentoo org> AuthorDate: Sun Dec 10 23:52:34 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Dec 10 23:56:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378170ef app-editors/emacs: Fix Emacs 18 build failure with 17.0 profiles. Adding -no-pie to LDFLAGS also does the trick for emacs-18.59. Rearrange toolchain flag manipulation a bit. Closes: https://bugs.gentoo.org/639562 Package-Manager: Portage-2.3.17, Repoman-2.3.6 app-editors/emacs/emacs-18.59-r11.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app-editors/emacs/emacs-18.59-r11.ebuild b/app-editors/emacs/emacs-18.59-r11.ebuild index c7a9e9dfa5d..8b9d3d2c04e 100644 --- a/app-editors/emacs/emacs-18.59-r11.ebuild +++ b/app-editors/emacs/emacs-18.59-r11.ebuild @@ -60,11 +60,13 @@ src_configure() { src/s-linux.h || die # -O3 and -finline-functions cause segmentation faults at run time. - filter-flags -finline-functions - replace-flags -O[3-9] -O2 + # -Wno-implicit will quieten GCC 5; feel free to submit a patch + # adding all those missing prototypes. strip-flags - # Quieten GCC 5. Feel free to submit a patch adding all those prototypes. + filter-flags -finline-functions -fpie append-flags -Wno-implicit + append-ldflags $(test-flags -no-pie) #639562 + replace-flags -O[3-9] -O2 } src_compile() {