diff options
author | Martin Väth <martin@mvath.de> | 2017-12-21 08:29:31 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2017-12-21 08:30:13 +0100 |
commit | ffec6a909080066e17908d31f76724bdfd003b07 (patch) | |
tree | 932bec6728db2bdbaad32e5891b252040f2ed031 /app-portage/eix/eix-99999999.ebuild | |
parent | sys-fs/squashfuse: Do not use gentoo mirror (diff) | |
download | mv-ffec6a909080066e17908d31f76724bdfd003b07.tar.gz mv-ffec6a909080066e17908d31f76724bdfd003b07.tar.bz2 mv-ffec6a909080066e17908d31f76724bdfd003b07.zip |
app-portage/eix: Rely on >=sys-devel/gcc-config-1.9.1 for lto plugins
Diffstat (limited to 'app-portage/eix/eix-99999999.ebuild')
-rw-r--r-- | app-portage/eix/eix-99999999.ebuild | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/app-portage/eix/eix-99999999.ebuild b/app-portage/eix/eix-99999999.ebuild index 90bce68f..a4dc465f 100644 --- a/app-portage/eix/eix-99999999.ebuild +++ b/app-portage/eix/eix-99999999.ebuild @@ -38,27 +38,11 @@ DEPEND="${BOTHDEPEND} meson? ( >=dev-util/meson-0.41.0 >=dev-util/ninja-1.7.2 + strong-optimization? ( >=sys-devel/gcc-config-1.9.1 ) ) !meson? ( ${AUTOTOOLS_DEPEND} ) >=sys-devel/gettext-0.19.6" -mesonflto() { - use meson && use strong-optimization || return 0 - einfo "Checking whether compiler supports -flto and static archives" - local -x AR=$(tc-getAR) - local -x CXX=$(tc-getCXX) - bash contrib/meson-flto-test.sh && return - eerror "For app-portage/eix[meson strong-optimization] it is necessary" - eerror "that your compiler can access static archives with -flto." - eerror "This is perhaps not the case on your system:" - eerror "A linker lto plugin might be required." - eerror "To establish this plugin, execute as root something like" - eerror " mkdir -p /usr/*/binutils-bin/lib/bfd-plugins" - eerror " cd /usr/*/binutils-bin/lib/bfd-plugins" - eerror " ln -sfn /usr/libexec/gcc/*/*/liblto_plugin.so.*.*.* ." - die "app-portage/eix[meson strong-optimization] requires flto plugin" -} - pkg_setup() { # remove stale cache file to prevent collisions local old_cache="${EROOT}var/cache/${PN}" @@ -72,7 +56,6 @@ src_prepare() { eautopoint eautoreconf } - mesonflto } src_configure() { |