Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/settings.py

    r47c1928 r575a6e5  
    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
    5359                else:
    5460                        self.target = canonical_host
    5561                        self.cross_compile = False
    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)
     62                        self.flags = ""
    6363
    6464                self.string = self.target
Note: See TracChangeset for help on using the changeset viewer.