aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-12-10 06:38:45 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-12-10 06:38:45 -0500
commit4f4b8a48bd4ad8fe28d03bc2f295f3ed57219296 (patch)
treeaee8fe8f3e9a8ae7307738997eaa42db7dc21179 /sys-boot
parentapp-office/libreoffice: update fix-execinfo patch (diff)
downloadmusl-4f4b8a48bd4ad8fe28d03bc2f295f3ed57219296.tar.gz
musl-4f4b8a48bd4ad8fe28d03bc2f295f3ed57219296.tar.bz2
musl-4f4b8a48bd4ad8fe28d03bc2f295f3ed57219296.zip
sys-boot/lilo: remove legacy HARDENED_CFLAGS
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/lilo/lilo-24.1.ebuild8
1 files 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() {