Top Level Namespace
Defined Under Namespace
Classes: Sedna
Constant Summary collapse
- DRIVER =
"/driver/c"
Instance Method Summary collapse
Instance Method Details
#set_arch(arch) ⇒ Object
28 29 30 31 32 33 34 35 36 37 |
# File 'ext/sedna/extconf.rb', line 28 def set_arch(arch) flags = "-arch #{arch}" $CFLAGS.gsub!(/-arch\s+\S+ /, "") $LDFLAGS.gsub!(/-arch\s+\S+ /, "") CONFIG['LDSHARED'].gsub!(/-arch\s+\S+ /, "") $CFLAGS << " " << flags $LDFLAGS << " " << flags CONFIG["LDSHARED"] << " " << flags end |