cc_env.patch 367 B

1234567891011
  1. --- a/tool/mkconfig.rb 2013-07-25
  2. +++ b/tool/mkconfig.rb 2013-07-25
  3. @@ -130,6 +130,8 @@
  4. val = "(TOPDIR || DESTDIR + #{val})"
  5. when /^ARCH_FLAG$/
  6. val = "arch_flag || #{val}" if universal
  7. + when /^CC$/
  8. + val = "ENV[\"CC\"] || #{val}"
  9. when /^UNIVERSAL_ARCHNAMES$/
  10. universal, val = val, 'universal' if universal
  11. when /^arch$/