[Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.
[oota-llvm.git] / docs / tutorial / LangImpl4.rst
index 44e0cc150954cc6d452c6a4adfdc4570b4a89e28..aa469ca1e7c6a6b4e91a6ce3757d410531acc80f 100644 (file)
@@ -428,7 +428,7 @@ the LLVM JIT and optimizer. 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