mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 23:07:31 +09:00
Issue #2165 - Disable LNK4217 and LNK4286 warnings when linking ICU as they're too spammy.
This commit is contained in:
parent
9ff14017e5
commit
f09b0002ee
1 changed files with 6 additions and 0 deletions
6
config/external/icu/moz.build
vendored
6
config/external/icu/moz.build
vendored
|
|
@ -17,3 +17,9 @@ else:
|
||||||
USE_LIBS += ['icudata']
|
USE_LIBS += ['icudata']
|
||||||
SharedLibrary('icu')
|
SharedLibrary('icu')
|
||||||
SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION']
|
SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION']
|
||||||
|
# Linking ICU gets too spammy in warnings with MSVC
|
||||||
|
if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']:
|
||||||
|
LDFLAGS += [
|
||||||
|
'/IGNORE:4217', # symbol defined in $1.obj is defined in $2.obj
|
||||||
|
'/IGNORE:4286', # similar with LNK4217
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue