summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 09:11:04 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 10:02:45 +0100
commit84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838 (patch)
tree48c6f1d4afc0553d85fc4475963a4a0b526c69f6
parentmedia-radio/fldigi: Version bump (diff)
downloadgentoo-84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838.tar.gz
gentoo-84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838.tar.bz2
gentoo-84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838.zip
sys-apps/systemd: Do not force ld.gold by default, #539998
-rw-r--r--sys-apps/systemd/systemd-228-r1.ebuild5
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
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