diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 8ee16f3d3d2..8e114fc0b27 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -21,10 +21,8 @@ using namespace llvm;
 // Command-line options that tend to be useful on more than one back-end.
 //
 
-namespace llvm { 
-  bool PrintMachineCode;
-  bool NoFramePointerElim;
-};
+bool llvm::PrintMachineCode;
+bool llvm::NoFramePointerElim;
 
 namespace {
   cl::opt<bool, true> PrintCode("print-machineinstrs",