diff options
author | Krzysztof Leśniak <serpent7776@gmail.com> | 2020-08-01 15:04:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 15:04:14 (GMT) |
commit | 6c5fc1d4ec2cbe32b5e617895da433ee6e974ada (patch) | |
tree | db7df0583db9edbddd0cfecbe2133088245d51eb /configure.py | |
parent | 086a9b2f8833fd45f2119596f74f90b9f7e2cdf5 (diff) | |
download | Ninja-6c5fc1d4ec2cbe32b5e617895da433ee6e974ada.zip Ninja-6c5fc1d4ec2cbe32b5e617895da433ee6e974ada.tar.gz Ninja-6c5fc1d4ec2cbe32b5e617895da433ee6e974ada.tar.bz2 |
Use c++ instead of g++
`configure.py` assumes `g++` is present on the system, which is not the case, e.g. for FreeBSD.
`c++` should be used insted, which should be a link to system c++ compiler. This will be `g++` for linux, but `clang++` for FreeBSD.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 8eef7e6..48c4821 100755 --- a/configure.py +++ b/configure.py @@ -269,7 +269,7 @@ if configure_env: n.variable('configure_env', config_str + '$ ') n.newline() -CXX = configure_env.get('CXX', 'g++') +CXX = configure_env.get('CXX', 'c++') objext = '.o' if platform.is_msvc(): CXX = 'cl' |