diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 6d7647812..676fa11f5 100755 --- a/configure.py +++ b/configure.py @@ -419,7 +419,7 @@ class ArchInfo(object): elif self.endian != None: macros.append('TARGET_CPU_IS_%s_ENDIAN' % (self.endian.upper())) - macros.append('TARGET_UNALIGNED_LOADSTORE_OK %d' % (self.unaligned_ok)) + macros.append('TARGET_UNALIGNED_LOADSTOR_OK %d' % (self.unaligned_ok)) return macros @@ -1018,7 +1018,7 @@ def main(argv = None): (modules, archinfo, ccinfo, osinfo) = load_info_files(options) if options.compiler is None: - if platform.system().lower() == 'windows': + if options.os == 'windows': options.compiler = 'msvc' else: options.compiler = 'gcc' |