summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-12-06 17:31:13 +1100
committer Vas Crabb <vas@vastheman.com>2023-12-06 17:31:13 +1100
commite5186344e50568d835722ced5303f3546ae3b3fb (patch)
tree8910440a068426d1da2b05c2ff011d3009e7264a /scripts/src
parentba40b0119a72de46513fae48cdbe189d69dc6670 (diff)
Tied up loose ends:
* Updated copyright for FLAC. * Enabled some more warnings for LZMA now that upstream is cleaner. * Removed Subversion attributes from .gitattributes.
Diffstat (limited to 'scripts/src')
-rwxr-xr-xscripts/src/3rdparty.lua24
1 files changed, 2 insertions, 22 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index 8de4c061105..b0ebea6d943 100755
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -799,16 +799,11 @@ project "7z"
configuration { "gmake or ninja" }
buildoptions_c {
- "-Wno-strict-prototypes",
- "-Wno-undef",
+ "-Wno-error=undef",
}
if _OPTIONS["gcc"]~=nil then
if string.find(_OPTIONS["gcc"], "clang") then
- if str_to_version(_OPTIONS["gcc_version"]) >= 100000 then
- buildoptions_c {
- "-Wno-error=misleading-indentation",
- }
- end
+
else
if str_to_version(_OPTIONS["gcc_version"]) >= 130000 then
buildoptions_c {
@@ -818,27 +813,12 @@ if _OPTIONS["gcc"]~=nil then
end
end
- configuration { "android-*" }
- buildoptions {
- "-Wno-error=misleading-indentation",
- }
-
- configuration { "asmjs" }
- buildoptions {
- "-Wno-error=misleading-indentation",
- }
-
configuration { "vs*" }
buildoptions {
"/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
"/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
"/wd4457", -- warning C4457: declaration of 'xxx' hides function parameter
}
-if _OPTIONS["vs"]=="clangcl" then
- buildoptions {
- "-Wno-error=misleading-indentation",
- }
-end
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd869", -- remark #869: parameter "xxx" was never referenced