[Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.
[oota-llvm.git] / docs / tutorial / LangImpl6.rst
index 42839fbd7504179caa0c3b3e2e0d6f7b0ce83dde..cdceb03fb92eba44c465a001ba2c9099aa26d790 100644 (file)
@@ -729,7 +729,7 @@ the if/then/else and for expressions.. To build this example, use:
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core jit native` -O3 -o toy
     # Run
     ./toy