commit:     4f4b8a48bd4ad8fe28d03bc2f295f3ed57219296
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 11:38:45 2017 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 11:38:45 2017 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=4f4b8a48

sys-boot/lilo: remove legacy HARDENED_CFLAGS

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-boot/lilo/lilo-24.1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-boot/lilo/lilo-24.1.ebuild b/sys-boot/lilo/lilo-24.1.ebuild
index be00f6d..981a24d 100644
--- a/sys-boot/lilo/lilo-24.1.ebuild
+++ b/sys-boot/lilo/lilo-24.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -53,10 +53,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
@@ -64,7 +60,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 via email to