diff options
author | Lang Hames <lhames@gmail.com> | 2014-11-06 00:31:04 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-11-06 00:31:04 +0000 |
commit | aa0f6734136338b0ceb7e782acc289d529e66f23 (patch) | |
tree | 80434d7f1165d6a804489a0eb0fd287acd761467 /llvm/docs/tutorial/LangImpl7.rst | |
parent | ec7d67ede0dd034d0831dc8b8e4c4c915efb94ad (diff) | |
download | bcm5719-llvm-aa0f6734136338b0ceb7e782acc289d529e66f23.tar.gz bcm5719-llvm-aa0f6734136338b0ceb7e782acc289d529e66f23.zip |
[Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.
The old examples had missing/incorrect flags that were causing failures on newer
versions of clang and the tutorial code.
llvm-svn: 221419
Diffstat (limited to 'llvm/docs/tutorial/LangImpl7.rst')
-rw-r--r-- | llvm/docs/tutorial/LangImpl7.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/LangImpl7.rst b/llvm/docs/tutorial/LangImpl7.rst index 849ce50060c..c4c7233c6a3 100644 --- a/llvm/docs/tutorial/LangImpl7.rst +++ b/llvm/docs/tutorial/LangImpl7.rst @@ -847,7 +847,7 @@ mutable variables and var/in support. 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 |