Bug 1557164 - Don't use integrated assembler with clang on mips*. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D33865

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-06-06 00:46:18 +00:00
Родитель ed3d08542c
Коммит 2d8b3e71e4
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -124,6 +124,10 @@ if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD', 'OpenBSD'):
'xptcstubs_asm_mips64.S',
'xptcstubs_mips64.cpp',
]
if CONFIG['CC_TYPE'] == 'clang':
ASFLAGS += [
'-fno-integrated-as',
]
if CONFIG['CPU_ARCH'] == 'mips32':
SOURCES += [
'xptcinvoke_asm_mips.S',
@ -131,6 +135,10 @@ if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD', 'OpenBSD'):
'xptcstubs_asm_mips.S',
'xptcstubs_mips.cpp',
]
if CONFIG['CC_TYPE'] == 'clang':
ASFLAGS += [
'-fno-integrated-as',
]
if CONFIG['OS_ARCH'] == 'AIX':
if CONFIG['HAVE_64BIT_BUILD']: