mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-lang/ruby: only pass -fno-ipa-modref for GCC
Only GCC has the flag (Clang doesn't) but we only want to apply it for GCC to begin with, even if for some reason Clang did have it. Bug: https://bugs.gentoo.org/965095 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
9a7a3a2544
commit
3e439610e8
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
RUST_OPTIONAL="yes"
|
||||
|
||||
inherit autotools flag-o-matic multiprocessing rust
|
||||
inherit autotools flag-o-matic multiprocessing toolchain-funcs rust
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
|
||||
@ -166,7 +166,7 @@ src_configure() {
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# Workaround for bug #965095 (gcc PR122610)
|
||||
append-flags -fno-ipa-modref
|
||||
tc-is-gcc && append-flags -fno-ipa-modref
|
||||
|
||||
# Workaround for bug #938302
|
||||
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
|
||||
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
RUST_OPTIONAL="yes"
|
||||
|
||||
inherit autotools flag-o-matic multiprocessing rust
|
||||
inherit autotools flag-o-matic multiprocessing toolchain-funcs rust
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
|
||||
@ -162,7 +162,7 @@ src_configure() {
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# Workaround for bug #965095 (gcc PR122610)
|
||||
append-flags -fno-ipa-modref
|
||||
tc-is-gcc && append-flags -fno-ipa-modref
|
||||
|
||||
# Workaround for bug #938302
|
||||
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
|
||||
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
RUST_OPTIONAL="yes"
|
||||
|
||||
inherit autotools flag-o-matic multiprocessing rust
|
||||
inherit autotools flag-o-matic multiprocessing toolchain-funcs rust
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
|
||||
@ -176,7 +176,7 @@ src_configure() {
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# Workaround for bug #965095 (gcc PR122610)
|
||||
append-flags -fno-ipa-modref
|
||||
tc-is-gcc && append-flags -fno-ipa-modref
|
||||
|
||||
# Workaround for bug #938302
|
||||
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user