From 4b0f7bc222184c1ae649e23b88cfc4698d1c6da0 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Thu, 20 Apr 2017 17:22:05 +0100 Subject: [PATCH 1/2] Fix typo noted in #979. `g++` is the default compiler rather than the `gcc` binary. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4c6dd012..b9d0d6fe1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ make sudo make install ``` -Note by default ``gcc`` is used as the C++ compiler if it is available. If you +Note by default ``g++`` is used as the C++ compiler if it is available. If you would prefer to use Clang change the ``mk_make.py`` line to ```bash From 2badef9d0bdacbe6a7645aad0ed7f5896c5d47f4 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Thu, 20 Apr 2017 17:25:00 +0100 Subject: [PATCH 2/2] Be more explicit about using Clang as the compiler as noted in #979. Referring to the ``mk_make.py`` line might lead someone to think they need to modify the ``mk_make.py`` file rather than change the command line invocation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9d0d6fe1..f92a5389a 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ sudo make install ``` Note by default ``g++`` is used as the C++ compiler if it is available. If you -would prefer to use Clang change the ``mk_make.py`` line to +would prefer to use Clang change the ``mk_make.py`` invocation to: ```bash CXX=clang++ CC=clang python scripts/mk_make.py