Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/settings.py

    r575a6e5 r47c1928  
    5151                        self.target = arch
    5252                        self.cross_compile = True
    53                         try :
    54                                 self.flags = Architecture.CrossCompileFlags[arch]
    55                         except KeyError:
    56                                 print("Cross compilation not available for architecture %s" % arch, file=sys.stderr)
    57                                 sys.exit(1)
    58 
    5953                else:
    6054                        self.target = canonical_host
    6155                        self.cross_compile = False
    62                         self.flags = ""
     56
     57
     58                try :
     59                        self.flags = Architecture.CrossCompileFlags[self.target]
     60                except KeyError:
     61                        print("Cross compilation not available for architecture %s" % self.target, file=sys.stderr)
     62                        sys.exit(1)
    6363
    6464                self.string = self.target
Note: See TracChangeset for help on using the changeset viewer.