Skip to content

Commit f3e1c4c

Browse files
authored
Merge pull request #244 from piotrze/master
Fix building hiredis-client gem with gcc 15
2 parents 79f2f35 + 4c5dde4 commit f3e1c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hiredis-client/ext/redis_client/hiredis/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def configure_extension
2121

2222
have_func("rb_hash_new_capa", "ruby.h")
2323

24-
$CFLAGS = concat_flags($CFLAGS, "-I#{Shellwords.escape(hiredis_dir)}", "-std=c99", "-fvisibility=hidden")
24+
append_cflags(["-I #{Shellwords.escape(hiredis_dir)}", "-std=c99", "-fvisibility=hidden"])
2525
$CFLAGS = if @debug
2626
concat_flags($CFLAGS, "-Werror", "-g", RbConfig::CONFIG["debugflags"])
2727
else

0 commit comments

Comments
 (0)