Additional compiler options - devboy/buildr_as3 GitHub Wiki
In some cases you might want to send additional arguments to the compiler, for example setting compiler flags or add conditional-compilation definitions.
You can do so by adding an array of arguments to options[:args].
First create an empty array:
compile.options[:args] = []
Now you can push arguments into the array:
compile.options[:args] << "-static-link-runtime-shared-libraries=true"
compile.options[:args] << "-default-size=800,600"
# ... etc
Another way is to pass it as an array to the using function:
compile.using( :args => ["-static-link-runtime-shared-libraries=true", "-default-size=800,600"])
Before version 0.2.24.pre this option was called :other