--- ruby-atomic-git-f4498d592.old/ext/extconf.rb +++ ruby-atomic-git-f4498d592/ext/extconf.rb @@ -16,17 +16,7 @@ have_header "libkern/OSAtomic.h" -def compiler_is_gcc - if CONFIG["GCC"] && CONFIG["GCC"] != "" - return true - elsif ( # This could stand to be more generic... but I am afraid. - CONFIG["CC"] =~ /\bgcc\b/ - ) - return true - end - return false -end - +compiler_is_gcc = 1==1 if compiler_is_gcc case CONFIG["arch"]