Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. 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.2 · 3.1