mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980211 - Suppress clang warnings in third-party media code: speex, theora, and vpx. r=derf
This commit is contained in:
parent
9acb8da5c6
commit
1a0519acb1
@ -39,5 +39,9 @@ else:
|
||||
if CONFIG['INTEL_ARCHITECTURE'] and CONFIG['OS_TARGET'] != 'Android':
|
||||
DEFINES['_USE_SSE'] = True
|
||||
DEFINES['_USE_SSE2'] = True
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['OS_TARGET'] == 'Darwin':
|
||||
CFLAGS += ['-Wno-sign-compare']
|
||||
if CONFIG['GNU_CC']:
|
||||
SOURCES['resample.c'].flags += ['-msse2']
|
||||
|
@ -76,3 +76,7 @@ FINAL_LIBRARY = 'gkmedias'
|
||||
|
||||
# The encoder is currently not included.
|
||||
DEFINES['THEORA_DISABLE_ENCODE'] = True
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['OS_TARGET'] == 'Darwin':
|
||||
CFLAGS += ['-Wno-tautological-compare']
|
||||
|
@ -87,6 +87,8 @@ if CONFIG['OS_TARGET'] == 'Android':
|
||||
SOURCES += [
|
||||
'%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
|
||||
]
|
||||
elif CONFIG['OS_TARGET'] == 'Darwin':
|
||||
CFLAGS += ['-Wno-sign-compare']
|
||||
|
||||
if not CONFIG['_MSC_VER']:
|
||||
for f in SOURCES:
|
||||
|
Loading…
Reference in New Issue
Block a user