Fixed android build (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-10 19:14:44 +01:00
parent 8d719a4df4
commit 0f877e08b3

View File

@ -620,7 +620,7 @@ project "sqlite3"
"-Wno-bad-function-cast",
"-Wno-undef",
}
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
if _OPTIONS["gcc"]~=nil and ((string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android"))) then
buildoptions_c {
"-Wno-incompatible-pointer-types-discards-qualifiers",
}