summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/bsdiff/mbsdiff.cc2
-rw-r--r--third_party/bspatch/SConscript4
-rw-r--r--third_party/libjpeg/SConscript4
-rw-r--r--third_party/libxml/SConscript3
4 files changed, 12 insertions, 1 deletions
diff --git a/third_party/bsdiff/mbsdiff.cc b/third_party/bsdiff/mbsdiff.cc
index 29227e8..1dcd35e 100644
--- a/third_party/bsdiff/mbsdiff.cc
+++ b/third_party/bsdiff/mbsdiff.cc
@@ -379,4 +379,4 @@ int main(int argc,char *argv[])
free(newbuf);
return 0;
-} \ No newline at end of file
+}
diff --git a/third_party/bspatch/SConscript b/third_party/bspatch/SConscript
index 7f93b68..d7eef03 100644
--- a/third_party/bspatch/SConscript
+++ b/third_party/bspatch/SConscript
@@ -52,6 +52,10 @@ if env['PLATFORM'] == 'win32':
'/wd4800',
],
)
+elif env['PLATFORM'] == 'posix':
+ if '-Wall' in env['CCFLAGS']:
+ # We're not responsible for bad warning hygiene in this third party code.
+ env['CCFLAGS'].remove('-Wall')
input_files = [
'mbspatch.cc',
diff --git a/third_party/libjpeg/SConscript b/third_party/libjpeg/SConscript
index 5c4fce7..f25beb1 100644
--- a/third_party/libjpeg/SConscript
+++ b/third_party/libjpeg/SConscript
@@ -45,6 +45,10 @@ if env['PLATFORM'] == 'win32':
'/wd4800',
],
)
+elif env['PLATFORM'] == 'posix':
+ if '-Wall' in env['CCFLAGS']:
+ # We're not responsible for bad warning hygiene in this third party code.
+ env['CCFLAGS'].remove('-Wall')
input_files = [
'jcapimin.c',
diff --git a/third_party/libxml/SConscript b/third_party/libxml/SConscript
index 40619e3..3a0c00a 100644
--- a/third_party/libxml/SConscript
+++ b/third_party/libxml/SConscript
@@ -62,6 +62,9 @@ elif env['PLATFORM'] == 'posix':
'_REENTRANT',
],
)
+ if '-Wall' in env['CCFLAGS']:
+ # We're not responsible for bad warning hygiene in this third party code.
+ env['CCFLAGS'].remove('-Werror')
input_files = [