cpu_interface: fix select_triple when only one specified

This commit is contained in:
Florent Kermarrec 2018-10-08 17:01:04 +02:00
parent 3b27d2ae89
commit d187921500
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def get_cpu_mak(cpu):
def select_triple(triple):
r = None
if not isinstance(triple, tuple):
triple = (triple)
triple = (triple,)
for i in range(len(triple)):
t = triple[i]
if which(t+"-gcc"):