Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 595834 | Differences between
and this patch

Collapse All | Expand All

(-)a/lib/Support/Triple.cpp (-1 / +8 lines)
Lines 874-879 std::string Triple::normalize(StringRef Str) { Link Here
874
    }
874
    }
875
  }
875
  }
876
876
877
  // Gentoo abuses the vendor field for softfloat/hardfloat ARM
878
  // e.g. arm-softfloat-linux-gnueabi, arm-hardfloat-linux-gnueabi
879
  if (Arch == Triple::arm && Environment == Triple::GNUEABI &&
880
      Components[1] == "hardfloat") {
881
    Components[3] = "gnueabihf";
882
    Environment = Triple::GNUEABIHF;
883
  }
884
877
  // Stick the corrected components back together to form the normalized string.
885
  // Stick the corrected components back together to form the normalized string.
878
  std::string Normalized;
886
  std::string Normalized;
879
  for (unsigned i = 0, e = Components.size(); i != e; ++i) {
887
  for (unsigned i = 0, e = Components.size(); i != e; ++i) {
880
- 

Return to bug 595834