mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 22:57:31 +09:00
Issue #1962 - Follow-up: Fix 32-bit build and remove unused clang-cl codepath.
This commit is contained in:
parent
2a1f9e3ef3
commit
dca7d2ff62
1 changed files with 3 additions and 4 deletions
|
|
@ -60,10 +60,9 @@ if CONFIG['INTEL_ARCHITECTURE']:
|
||||||
if CONFIG['CPU_ARCH'] == 'x86_64':
|
if CONFIG['CPU_ARCH'] == 'x86_64':
|
||||||
DEFINES['OC_X86_64_ASM'] = True
|
DEFINES['OC_X86_64_ASM'] = True
|
||||||
if CONFIG['_MSC_VER']:
|
if CONFIG['_MSC_VER']:
|
||||||
if CONFIG['CC_TYPE'] == 'clang-cl':
|
# MSVC doesn't allow inline assembly in 64-bit code.
|
||||||
# clang-cl can't handle libtheora's inline asm.
|
# Thus, only 32-bit Windows builds benefit from optimization.
|
||||||
pass
|
if CONFIG['CPU_ARCH'] != 'x86_64':
|
||||||
elif CONFIG['CPU_ARCH'] == 'x86_64':
|
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'lib/x86_vc/mmxfrag.c',
|
'lib/x86_vc/mmxfrag.c',
|
||||||
'lib/x86_vc/mmxidct.c',
|
'lib/x86_vc/mmxidct.c',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue