Bug 1448189 - follow-up - Don't use -mstackrealign with clang-cl. r=jbeich

This commit is contained in:
Lee Salzman 2018-03-25 11:00:03 -04:00
Родитель 2f1ce208da
Коммит d056167c69
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -80,8 +80,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
]
# Work around a crash when jumping into assembly on platforms where
# Clang has 4-byte stack alignment (BSDs, Windows).
if CONFIG['CPU_ARCH'] == 'x86' and CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
# Clang has 4-byte stack alignment.
if CONFIG['CPU_ARCH'] == 'x86' and CONFIG['CC_TYPE'] == 'clang':
SOURCES['skia/src/jumper/SkJumper.cpp'].flags += [
'-mstack-alignment=16',
'-mstackrealign'

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

@ -755,8 +755,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
]
# Work around a crash when jumping into assembly on platforms where
# Clang has 4-byte stack alignment (BSDs, Windows).
if CONFIG['CPU_ARCH'] == 'x86' and CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
# Clang has 4-byte stack alignment.
if CONFIG['CPU_ARCH'] == 'x86' and CONFIG['CC_TYPE'] == 'clang':
SOURCES['skia/src/jumper/SkJumper.cpp'].flags += [
'-mstack-alignment=16',
'-mstackrealign'