add win32-x86-clang and windows-x64-clang targets
This commit is contained in:
18
configure/os/CONFIG.Common.win32-x86-clang
Normal file
18
configure/os/CONFIG.Common.win32-x86-clang
Normal file
@@ -0,0 +1,18 @@
|
||||
# CONFIG.Common.win32-x86-clang
|
||||
#
|
||||
# Definitions for win32-x86-clang target build
|
||||
# Override these definitions in CONFIG_SITE.Common.win32-x86-clang
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to msvc compiler
|
||||
include $(CONFIG)/CONFIG.msvcCommon
|
||||
|
||||
VALID_BUILDS = Ioc Host Command
|
||||
|
||||
# Override CONFIG.msvcCommon settings:
|
||||
LLVM_PREFIX = llvm-
|
||||
CC = clang-cl$(LLVM_SUFFIX) --target=i686-pc-windows-msvc
|
||||
WINLINK = lld-link$(LLVM_SUFFIX)
|
||||
|
||||
# clang-cl does not support /GL option
|
||||
OPT_WHOLE_PROGRAM = NO
|
||||
11
configure/os/CONFIG.Common.windows-x64-clang
Normal file
11
configure/os/CONFIG.Common.windows-x64-clang
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.Common.windows-x64-clang
|
||||
#
|
||||
# Definitions for windows-x64-clang target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.windows-x64-clang
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to win32-x86-clang builds
|
||||
include $(CONFIG)/os/CONFIG.Common.win32-x86-clang
|
||||
|
||||
# Override CONFIG.Common.win32-x86-clang settings:
|
||||
CC = clang-cl$(LLVM_SUFFIX) --target=x86_64-pc-windows-msvc
|
||||
Reference in New Issue
Block a user