Skip to content

Commit

Permalink
Bug 1557259 - Don't use clang integrated assembler for jsimd_dspr2.S.…
Browse files Browse the repository at this point in the history
… r=dmajor

Differential Revision: https://phabricator.services.mozilla.com/D33931
  • Loading branch information
glandium committed Jun 6, 2019
1 parent cd2f535 commit 849e346
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions media/libjpeg/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ if CONFIG['LIBJPEG_TURBO_ASFLAGS']:
'simd/mips/jsimd.c',
'simd/mips/jsimd_dspr2.S',
]
if CONFIG['CC_TYPE'] == 'clang':
SOURCES['simd/mips/jsimd_dspr2.S'].flags += [
'-fno-integrated-as',
]
elif CONFIG['CPU_ARCH'] == 'x86_64':
SOURCES += [
'simd/x86_64/jccolor-avx2.asm',
Expand Down

0 comments on commit 849e346

Please sign in to comment.