Merge "Forbid Clang for Windows"
This commit is contained in:
@@ -214,7 +214,12 @@ endif
|
||||
# clang is enabled by default for host builds
|
||||
# enable it unless we've specifically disabled clang above
|
||||
ifdef LOCAL_IS_HOST_MODULE
|
||||
ifneq ($($(my_prefix)OS),windows)
|
||||
ifeq ($($(my_prefix)OS),windows)
|
||||
ifeq ($(my_clang),true)
|
||||
$(error $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): Clang is not yet supported for windows binaries)
|
||||
endif
|
||||
my_clang := false
|
||||
else
|
||||
ifeq ($(my_clang),)
|
||||
my_clang := true
|
||||
endif
|
||||
|
Reference in New Issue
Block a user