Skip to content

Maintenance Ruby 3.4 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 .rm_rf #append_ldflags .rm_f #check_signedness also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1