Direct declaration of namespace-ified globals does not work, must enclose
them with a namespace declaration.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 8e114fc..d71bd3f 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -21,9 +21,10 @@
 // Command-line options that tend to be useful on more than one back-end.
 //
 
-bool llvm::PrintMachineCode;
-bool llvm::NoFramePointerElim;
-
+namespace llvm {
+  bool PrintMachineCode;
+  bool NoFramePointerElim;
+};
 namespace {
   cl::opt<bool, true> PrintCode("print-machineinstrs",
     cl::desc("Print generated machine code"),