summaryrefslogtreecommitdiff
path: root/dev-lang/ruby/ruby-3.4.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/ruby-3.4.4.ebuild')
-rw-r--r--dev-lang/ruby/ruby-3.4.4.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-lang/ruby/ruby-3.4.4.ebuild b/dev-lang/ruby/ruby-3.4.4.ebuild
index 0d77e99bcf48..d3a0f364d955 100644
--- a/dev-lang/ruby/ruby-3.4.4.ebuild
+++ b/dev-lang/ruby/ruby-3.4.4.ebuild
@@ -175,10 +175,9 @@ src_configure() {
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
-
# Avoid a compile error with certain USE flag combinations when
- # using std=gnu23, bug #945643.
- append-flags -std=gnu17
+ # using std=gnu23, bug #945643 and bug #945502
+ append-cflags -std=gnu17
# Workaround for bug #938302
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
@@ -191,10 +190,6 @@ src_configure() {
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
-
- # The socks code has a function prototype without parameters,
- # bug #945502
- append-cflags -std=gnu17
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)