public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/lilo/
Date: Thu,  7 Dec 2017 19:29:19 +0000 (UTC)	[thread overview]
Message-ID: <1512674937.e7ec64e07c110fd117d37b26c7ca668eba586f9a.blueness@gentoo> (raw)

commit:     e7ec64e07c110fd117d37b26c7ca668eba586f9a
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  7 19:28:57 2017 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 19:28:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ec64e0

sys-boot/lilo: remove legacy HARDENED_CFLAGS, bug #621866

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-boot/lilo/lilo-22.8-r2.ebuild | 10 +++-------
 sys-boot/lilo/lilo-23.2-r2.ebuild |  8 ++------
 sys-boot/lilo/lilo-24.0-r1.ebuild |  8 ++------
 sys-boot/lilo/lilo-24.1.ebuild    |  8 ++------
 sys-boot/lilo/lilo-24.2.ebuild    |  8 ++------
 5 files changed, 11 insertions(+), 31 deletions(-)

diff --git a/sys-boot/lilo/lilo-22.8-r2.ebuild b/sys-boot/lilo/lilo-22.8-r2.ebuild
index 7ae95e523fe..257a7a9a113 100644
--- a/sys-boot/lilo/lilo-22.8-r2.ebuild
+++ b/sys-boot/lilo/lilo-22.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit eutils flag-o-matic toolchain-funcs
@@ -48,16 +48,12 @@ src_compile() {
 	# lilo needs this. bug #140209
 	export LC_ALL=C
 
-	# hardened automatic PIC plus PIE building should be suppressed
-	# because of assembler instructions that cannot be compiled PIC
-	HARDENED_CFLAGS="`test-flags-CC -fno-pic -nopie`"
-
 	# we explicitly prevent the custom CFLAGS for stability reasons
 	if use static; then
-		emake CC="$(tc-getCC) ${HARDENED_CFLAGS}" lilo.static || die
+		emake CC="$(tc-getCC)" lilo.static || die
 		mv lilo.static lilo || die
 	else
-		emake CC="$(tc-getCC) ${HARDENED_CFLAGS}" lilo || die
+		emake CC="$(tc-getCC)" lilo || die
 	fi
 }
 

diff --git a/sys-boot/lilo/lilo-23.2-r2.ebuild b/sys-boot/lilo/lilo-23.2-r2.ebuild
index afbd4d2a734..2be5f25cd50 100644
--- a/sys-boot/lilo/lilo-23.2-r2.ebuild
+++ b/sys-boot/lilo/lilo-23.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="2"
@@ -49,10 +49,6 @@ src_compile() {
 	# lilo needs this. bug #140209
 	export LC_ALL=C
 
-	# hardened automatic PIC plus PIE building should be suppressed
-	# because of assembler instructions that cannot be compiled PIC
-	HARDENED_CFLAGS=$(test-flags-CC -fno-pic -nopie)
-
 	# we explicitly prevent the custom CFLAGS for stability reasons
 	if use static; then
 		local target=alles
@@ -60,7 +56,7 @@ src_compile() {
 		local target=all
 	fi
 
-	emake CC="$(tc-getCC) ${LDFLAGS} ${HARDENED_CFLAGS}" ${target} || die
+	emake CC="$(tc-getCC) ${LDFLAGS}" ${target} || die
 }
 
 src_install() {

diff --git a/sys-boot/lilo/lilo-24.0-r1.ebuild b/sys-boot/lilo/lilo-24.0-r1.ebuild
index 4de878e34d3..b0639924ba3 100644
--- a/sys-boot/lilo/lilo-24.0-r1.ebuild
+++ b/sys-boot/lilo/lilo-24.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -49,10 +49,6 @@ src_compile() {
 	# lilo needs this. bug #140209
 	export LC_ALL=C
 
-	# hardened automatic PIC plus PIE building should be suppressed
-	# because of assembler instructions that cannot be compiled PIC
-	HARDENED_CFLAGS=$(test-flags-CC -fno-pic -nopie)
-
 	# we explicitly prevent the custom CFLAGS for stability reasons
 	if use static; then
 		local target=alles
@@ -60,7 +56,7 @@ src_compile() {
 		local target=all
 	fi
 
-	emake CC="$(tc-getCC) ${LDFLAGS} ${HARDENED_CFLAGS}" ${target} || die
+	emake CC="$(tc-getCC) ${LDFLAGS}" ${target} || die
 }
 
 src_install() {

diff --git a/sys-boot/lilo/lilo-24.1.ebuild b/sys-boot/lilo/lilo-24.1.ebuild
index 3d0cf52c05d..9431f265960 100644
--- a/sys-boot/lilo/lilo-24.1.ebuild
+++ b/sys-boot/lilo/lilo-24.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -49,10 +49,6 @@ src_compile() {
 	# lilo needs this. bug #140209
 	export LC_ALL=C
 
-	# hardened automatic PIC plus PIE building should be suppressed
-	# because of assembler instructions that cannot be compiled PIC
-	HARDENED_CFLAGS=$(test-flags-CC -fno-pic -nopie)
-
 	# we explicitly prevent the custom CFLAGS for stability reasons
 	if use static; then
 		local target=alles
@@ -60,7 +56,7 @@ src_compile() {
 		local target=all
 	fi
 
-	emake CC="$(tc-getCC) ${LDFLAGS} ${HARDENED_CFLAGS}" ${target} || die
+	emake CC="$(tc-getCC) ${LDFLAGS}" ${target} || die
 }
 
 src_install() {

diff --git a/sys-boot/lilo/lilo-24.2.ebuild b/sys-boot/lilo/lilo-24.2.ebuild
index d075d6bf751..854b8dba436 100644
--- a/sys-boot/lilo/lilo-24.2.ebuild
+++ b/sys-boot/lilo/lilo-24.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -49,10 +49,6 @@ src_compile() {
 	# lilo needs this. bug #140209
 	export LC_ALL=C
 
-	# hardened automatic PIC plus PIE building should be suppressed
-	# because of assembler instructions that cannot be compiled PIC
-	HARDENED_CFLAGS=$(test-flags-CC -fno-pic -nopie)
-
 	# we explicitly prevent the custom CFLAGS for stability reasons
 	if use static; then
 		local target=alles
@@ -60,7 +56,7 @@ src_compile() {
 		local target=all
 	fi
 
-	emake CC="$(tc-getCC) ${LDFLAGS} ${HARDENED_CFLAGS}" ${target} || die
+	emake CC="$(tc-getCC) ${LDFLAGS}" ${target} || die
 }
 
 src_install() {


             reply	other threads:[~2017-12-07 19:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07 19:29 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 14:51 [gentoo-commits] repo/gentoo:master commit in: sys-boot/lilo/ Jakov Smolić
2025-03-08 14:51 Jakov Smolić
2024-10-06 11:30 Joshua Kinard
2024-02-02  6:28 Andrew Ammerlaan
2022-04-22 17:43 Sam James
2021-06-06 18:39 Joshua Kinard
2021-06-01 17:35 Mike Gilbert
2021-06-01 17:35 Mike Gilbert
2021-05-31 17:49 David Seifert
2021-04-21 19:02 Sam James
2021-03-07 13:14 Mikle Kolyada
2021-03-06 15:37 Thomas Deutschmann
2018-06-01 14:05 Aaron Bauman
2015-11-23 14:50 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512674937.e7ec64e07c110fd117d37b26c7ca668eba586f9a.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox