doc(make): change g++-4.9 to g++

now if use g++4.9 as compiler flag on OSX, it will produce error message
that

```
CMake Error at CMakeLists.txt:2 (project):
  The CMAKE_CXX_COMPILER:

    g++-4.9

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting
  either the environment variable "CXX" or the CMake cache entry
  CMAKE_CXX_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.
```
This commit is contained in:
zjhmale 2016-09-06 15:52:02 +08:00 committed by Leonardo de Moura
parent 996b4375a9
commit 9c23a3ded3

View file

@ -31,7 +31,7 @@ need to use `-DCMAKE_CXX_COMPILER` option to specify the compiler
that you want to use when you run `cmake`. For example, do the
following to use `g++`.
cmake -DCMAKE_CXX_COMPILER=g++-4.9 ...
cmake -DCMAKE_CXX_COMPILER=g++ ...
Required Packages: CMake, GMP, MPFR, LUA