OSDN Git Service

Forbid Clang for Windows
authorDan Willemsen <dwillemsen@google.com>
Tue, 29 Mar 2016 19:34:03 +0000 (12:34 -0700)
committerDan Willemsen <dwillemsen@google.com>
Tue, 29 Mar 2016 19:34:03 +0000 (12:34 -0700)
commit9537477df7af55988d59443c9a2fdd891e2c9760
treec6d4d36b6e0484fc49041ab7fc2d8376e132391b
parent6d41f7e1233da88714edaf3f21f88ff8023558f4
Forbid Clang for Windows

Clang and MinGW are not expected to work together currently, and you get
strange errors when this is attempted. Instead, error out with a clear
error message.

Before the windows build rewrite, we'd just explicitly set my_clang to
false without checking what the module asked for. Now, error out if the
module explicitly asked for clang, since by default they'd have it
already if it wasn't for windows. That way when Clang+Windows does
become possible, it can gradually be tested by setting LOCAL_CLANG to
true.

Change-Id: I9e0b0dca30946d94894119443f2fd0593cee1793
core/binary.mk