Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4d5e08c authored by Dan Willemsen's avatar Dan Willemsen Committed by Gerrit Code Review
Browse files

Merge "Forbid Clang for Windows"

parents 44873191 9537477d
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -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