Kaynağa Gözat

Enabled all warnings everywhere.

Branimir Karadžić 8 yıl önce
ebeveyn
işleme
271ad24b84
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      scripts/toolchain.lua

+ 4 - 4
scripts/toolchain.lua

@@ -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")