mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
clang on windows support
This commit is contained in:
parent
b08f544172
commit
1d44f05fba
22 changed files with 208 additions and 65 deletions
6
config/external/lgpllibs/moz.build
vendored
6
config/external/lgpllibs/moz.build
vendored
|
|
@ -11,3 +11,9 @@
|
|||
|
||||
GeckoSharedLibrary('lgpllibs', linkage=None)
|
||||
SHARED_LIBRARY_NAME = 'lgpllibs'
|
||||
|
||||
if CONFIG['CLANG_CL']:
|
||||
# SoundTouch uses clang's OpenMP runtime. Link its import library into the
|
||||
# containing LGPL DLL and place the runtime beside the browser binaries.
|
||||
OS_LIBS += ['C:/clang/lib/libomp']
|
||||
FINAL_TARGET_FILES += ['C:/clang/bin/libomp.dll']
|
||||
|
|
|
|||
8
config/external/nss/Makefile.in
vendored
8
config/external/nss/Makefile.in
vendored
|
|
@ -262,6 +262,13 @@ ifeq (WINNT,$(OS_TARGET))
|
|||
NSS_XCFLAGS += $(filter -arch:%,$(CFLAGS))
|
||||
endif
|
||||
|
||||
# freebl's x86 AES/GCM sources use AES-NI and PCLMUL intrinsics. The nested
|
||||
# NSS build's per-object flags are not propagated through this wrapper when
|
||||
# using clang-cl, so pass them explicitly.
|
||||
ifeq (1,$(CLANG_CL))
|
||||
NSS_XCFLAGS += -maes -mpclmul
|
||||
endif
|
||||
|
||||
# Enable short header experiment. Firefox only.
|
||||
NSS_XCFLAGS += -DNSS_ENABLE_TLS13_SHORT_HEADERS
|
||||
|
||||
|
|
@ -466,4 +473,3 @@ endif # MOZ_FOLD_LIBS
|
|||
# Work around NSS build system race condition creating certdata.c in
|
||||
# security/nss/lib/ckfw/builtins. See bug #836220.
|
||||
libs-nss/lib$(if $(MOZ_FOLD_LIBS),/ckfw): $(call mkdir_deps,$(DEPTH)/security/nss/lib/ckfw/builtins)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue