Fixed a problem in the lldbinline logic where C++ files could not be validly compiled
authorEnrico Granata <egranata@apple.com>
Wed, 22 Oct 2014 20:33:34 +0000 (20:33 +0000)
committerEnrico Granata <egranata@apple.com>
Wed, 22 Oct 2014 20:33:34 +0000 (20:33 +0000)
llvm-svn: 220420

lldb/test/lldbinline.py

index 7e8e865..24b3287 100644 (file)
@@ -90,7 +90,7 @@ def BuildMakefile(mydir):
         makefile.write("LDFLAGS = $(CFLAGS) -lobjc -framework Foundation\n")
 
     if ('CXX_SOURCES' in categories.keys()):
-        makefile.write("CXXFLAGS += -std-c++11\n")
+        makefile.write("CXXFLAGS += -std=c++11\n")
 
     makefile.write("include $(LEVEL)/Makefile.rules\n")
     makefile.flush()