mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2024-10-28 11:19:36 +01:00
add '-masm=intel' when building using GCC
This commit is contained in:
parent
d65cecf4ac
commit
f7449ab7e6
2 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,7 @@ VALUE stringMap2hash(mkxp_net::StringMap &map) {
|
|||
|
||||
mkxp_net::StringMap hash2StringMap(VALUE hash) {
|
||||
mkxp_net::StringMap ret;
|
||||
Check_Type(hash, RUBY_T_HASH);
|
||||
Check_Type(hash, T_HASH);
|
||||
|
||||
VALUE keys = rb_funcall(hash, rb_intern("keys"), 0);
|
||||
for (int i = 0; i < RARRAY_LEN(keys); i++) {
|
||||
|
|
|
@ -82,6 +82,7 @@ endif
|
|||
global_args += ['-Wno-non-virtual-dtor', '-Wno-reorder', '-Wno-uninitialized', '-Wno-unknown-pragmas', '-Wno-unknown-warning-option', '-Wno-deprecated-register']
|
||||
if compilers['cpp'].get_id() == 'clang'
|
||||
global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor']
|
||||
global_args += '-masm=intel'
|
||||
endif
|
||||
if host_system == 'windows'
|
||||
global_args += '-Wno-unknown-attributes'
|
||||
|
|
Loading…
Reference in a new issue