# File lib/phusion_passenger/platform_info/compiler.rb, line 152 def self.default_cc # OS X Mavericks (10.9) switched from GCC to Clang as the default compiler, # i.e. as an alias for 'cc'. Since the Nginx by default uses 'cc' as the compiler, # we'll have to do that too. Otherwise we'll get C++ linker errors because Nginx # is compiled with Clang while Phusion Passenger is compiled with GCC. # https://code.google.com/p/phusion-passenger/issues/detail?id=950 if PlatformInfo.os_name == "macosx" return 'cc' else return 'gcc' end end