|
@@ -189,6 +189,10 @@ function toolchain(_buildDir, _libDir)
|
|
|
compiler32bit = true
|
|
compiler32bit = true
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
|
|
+ flags {
|
|
|
|
|
+ "ExtraWarnings",
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if _ACTION == "gmake" or _ACTION == "ninja" then
|
|
if _ACTION == "gmake" or _ACTION == "ninja" then
|
|
|
|
|
|
|
|
if nil == _OPTIONS["gcc"] then
|
|
if nil == _OPTIONS["gcc"] then
|
|
@@ -196,10 +200,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
os.exit(1)
|
|
os.exit(1)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
- flags {
|
|
|
|
|
- "ExtraWarnings",
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if "android-arm" == _OPTIONS["gcc"] then
|
|
if "android-arm" == _OPTIONS["gcc"] then
|
|
|
|
|
|
|
|
if not os.getenv("ANDROID_NDK_ARM")
|
|
if not os.getenv("ANDROID_NDK_ARM")
|