[Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.
[oota-llvm.git] / docs / tutorial / LangImpl3.rst
index 7174c09c622bb67a80a55b258eb0c1bf39bc7749..b7418ccf32a945c29a0ed3de6202eb994488cff4 100644 (file)
@@ -581,7 +581,7 @@ our makefile/command line about which options to use:
 .. code-block:: bash
 
     # Compile
-    clang++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy
+    clang++ -g -O3 toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core` -o toy
     # Run
     ./toy