diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-02-06 09:11:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-02-06 10:02:45 +0100 |
commit | 84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838 (patch) | |
tree | 48c6f1d4afc0553d85fc4475963a4a0b526c69f6 /sys-apps/systemd | |
parent | bc9c5b8aceb21d433072aa6b5e644be9833a0df7 (diff) | |
download | gentoo-84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838.tar.gz gentoo-84a1a4f59c4ff76fc2a2acb7e0417d0a91df7838.tar.xz |
sys-apps/systemd: Do not force ld.gold by default, #539998
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/systemd-228-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 5 |
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 1ca11dabc10..a6448c15466 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 f2cc0a91ea3..1a89016af90 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 |