aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-11-02 09:24:48 -0400
committerJack Lloyd <[email protected]>2018-11-02 09:24:48 -0400
commitc1b8bc6c01d457155b51cab165c29c290c6eef89 (patch)
tree59b9eb17796515539742620c0cfea34caaf504cd /configure.py
parent184c7896d4ef3360f81c82fb0b7d3f42b2231eea (diff)
Fix issue when CXX was set to 'ccache g++' see https://github.com/randombit/botan-rs/pull/9
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 33a4d798c..b6cba2d19 100755
--- a/configure.py
+++ b/configure.py
@@ -2763,7 +2763,7 @@ def set_defaults_for_unset_options(options, info_arch, info_cc, info_os): # pyli
def deduce_compiler_type_from_cc_bin(cc_bin):
if cc_bin.find('clang') != -1 or cc_bin in ['emcc', 'em++']:
return 'clang'
- if cc_bin.find('-g++') != -1:
+ if cc_bin.find('-g++') != -1 or cc_bin.find('g++') != -1:
return 'gcc'
return None