Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

MakeMakefile#append_cflags

append_cflags(flags, *opts)

Check whether each given C compiler flag is acceptable and append it to $CFLAGS if so.

flags

a C compiler flag as a String or an Array of them

See also .[]= #cc_command .[] #check_signedness also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2