[clang] [llvm] Hurd: Add x86_64 support (PR #78065)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 10:14:40 PST 2024


================
@@ -2652,6 +2652,31 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
     return;
   }
 
+  if (TargetTriple.isOSHurd()) {
+    static const char *const X86_64HurdTriples[] = {"x86_64-gnu"};
----------------
MaskRay wrote:

No. It's for `-m32`/`-m64`

https://github.com/llvm/llvm-project/pull/78065


More information about the cfe-commits mailing list