From: Michał Górny Date: Sat, 6 Feb 2016 08:11:04 +0000 (+0100) Subject: sys-apps/systemd: Do not force ld.gold by default, #539998 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838;p=gentoo.git sys-apps/systemd: Do not force ld.gold by default, #539998 --- diff --git a/sys-apps/systemd/systemd-228-r1.ebuild b/sys-apps/systemd/systemd-228-r1.ebuild index 1ca11dabc10e..a6448c154664 100644 --- a/sys-apps/systemd/systemd-228-r1.ebuild +++ b/sys-apps/systemd/systemd-228-r1.ebuild @@ -168,6 +168,11 @@ multilib_src_configure() { # disable -flto since it is an optimization flag # and makes distcc less effective cc_cv_CFLAGS__flto=no + # disable -fuse-ld=gold since Gentoo supports explicit linker + # choice and forcing gold is undesired, #539998 + # ld.gold may collide with user's LDFLAGS, #545168 + # ld.gold breaks sparc, #573874 + cc_cv_LDFLAGS__Wl__fuse_ld_gold=no # Workaround for gcc-4.7, bug 554454. cc_cv_CFLAGS__Werror_shadow=no diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index f2cc0a91ea31..1a89016af901 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -167,6 +167,11 @@ multilib_src_configure() { # disable -flto since it is an optimization flag # and makes distcc less effective cc_cv_CFLAGS__flto=no + # disable -fuse-ld=gold since Gentoo supports explicit linker + # choice and forcing gold is undesired, #539998 + # ld.gold may collide with user's LDFLAGS, #545168 + # ld.gold breaks sparc, #573874 + cc_cv_LDFLAGS__Wl__fuse_ld_gold=no # Workaround for gcc-4.7, bug 554454. cc_cv_CFLAGS__Werror_shadow=no