]> granicus.if.org Git - clang/commitdiff
Correct FreeBSD target info, fixing PR4514.
authorDuncan Sands <baldrick@free.fr>
Wed, 8 Jul 2009 13:55:08 +0000 (13:55 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 8 Jul 2009 13:55:08 +0000 (13:55 +0000)
Patch by Roman Divacky.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75003 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 34fbd44392feff2b50966ffbc8fd0235cda27090..0ff8812314725a1ef2fc37bf468a10363496f452 100644 (file)
@@ -297,7 +297,9 @@ protected:
   }
 public:
   FreeBSDTargetInfo(const std::string &triple) 
-    : OSTargetInfo<Target>(triple) {}
+    : OSTargetInfo<Target>(triple) {
+      this->UserLabelPrefix = "";
+    }
 };
 
 // Linux target