Open orderthruchaos opened 10 years ago
This problem also affects AIX and the xlc compiler.
With @lamont-granquist's comment in mind, you may want to remove the condition on RbConfig::CONFIG['host_os']
.
I'd suggest just using if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc|clang/
to protect the gcc-specific flags.
When using the Solaris Studio C compiler, the specified flags generate errors. This may affect other compilers, but this is at least a starting point.