summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/bsdiff/SConscript8
-rw-r--r--third_party/bspatch/SConscript9
-rw-r--r--third_party/bzip2/SConscript7
-rw-r--r--third_party/libjpeg/SConscript3
-rw-r--r--third_party/libpng/SConscript3
-rw-r--r--third_party/libxml/SConscript3
-rw-r--r--third_party/libxslt/SConscript3
-rw-r--r--third_party/lzma_sdk/SConscript31
-rw-r--r--third_party/zlib/SConscript3
9 files changed, 20 insertions, 50 deletions
diff --git a/third_party/bsdiff/SConscript b/third_party/bsdiff/SConscript
index faf1247..adcf647 100644
--- a/third_party/bsdiff/SConscript
+++ b/third_party/bsdiff/SConscript
@@ -40,15 +40,7 @@ env.Prepend(
env.Append(
CCFLAGS = [
'/TP',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
- ],
-
- CPPDEFINES = [
- 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
- 'WIN32_LEAN_AND_MEAN',
],
)
diff --git a/third_party/bspatch/SConscript b/third_party/bspatch/SConscript
index 3889ea6..0df2882 100644
--- a/third_party/bspatch/SConscript
+++ b/third_party/bspatch/SConscript
@@ -44,15 +44,12 @@ env.Append(
],
CCFLAGS = [
'/TP',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)
-input_files = Split('''
- mbspatch.cc
-''')
+input_files = [
+ 'mbspatch.cc',
+]
env.StaticLibrary('bspatch', input_files)
diff --git a/third_party/bzip2/SConscript b/third_party/bzip2/SConscript
index 6f2157e..1457400 100644
--- a/third_party/bzip2/SConscript
+++ b/third_party/bzip2/SConscript
@@ -33,13 +33,12 @@ env = env.Clone()
env.Append(
CCFLAGS = [
- '/DBZ_NO_STDIO',
'/TC',
-
'/wd4996',
'/wd4800',
- '/wd4503',
- '/wd4819',
+ ],
+ CPPDEFINES = [
+ 'BZ_NO_STDIO',
],
)
diff --git a/third_party/libjpeg/SConscript b/third_party/libjpeg/SConscript
index 2fcd353..3c5399c 100644
--- a/third_party/libjpeg/SConscript
+++ b/third_party/libjpeg/SConscript
@@ -40,10 +40,7 @@ env.Prepend(
env.Append(
CCFLAGS = [
'/TC',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)
diff --git a/third_party/libpng/SConscript b/third_party/libpng/SConscript
index cd1f168..ad6bdf9 100644
--- a/third_party/libpng/SConscript
+++ b/third_party/libpng/SConscript
@@ -41,10 +41,7 @@ env.Prepend(
env.Append(
CCFLAGS = [
'/TP',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
CPPDEFINES = [
'PNG_USER_CONFIG',
diff --git a/third_party/libxml/SConscript b/third_party/libxml/SConscript
index 0f9cdd1..a4d024a 100644
--- a/third_party/libxml/SConscript
+++ b/third_party/libxml/SConscript
@@ -49,10 +49,7 @@ env.Append(
],
CCFLAGS = [
'/TC',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)
diff --git a/third_party/libxslt/SConscript b/third_party/libxslt/SConscript
index 2c070e3..8f92607 100644
--- a/third_party/libxslt/SConscript
+++ b/third_party/libxslt/SConscript
@@ -51,10 +51,7 @@ env.Append(
],
CCFLAGS = [
'/TC',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)
diff --git a/third_party/lzma_sdk/SConscript b/third_party/lzma_sdk/SConscript
index 8809e47..74fb2de 100644
--- a/third_party/lzma_sdk/SConscript
+++ b/third_party/lzma_sdk/SConscript
@@ -46,26 +46,23 @@ env.Append(
],
CCFLAGS = [
'/TC',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)
-input_files = Split('''
- Compress/Lzma/LzmaDecode.c
- Archive/7z/7zMethodID.c
- Archive/7z/7zItem.c
- Archive/7z/7zIn.c
- Archive/7z/7zHeader.c
- Archive/7z/7zExtract.c
- Archive/7z/7zDecode.c
- Archive/7z/7zBuffer.c
- Archive/7z/7zAlloc.c
- Compress/Branch/BranchX86_2.c
- Compress/Branch/BranchX86.c
- 7zCrc.c
-''')
+input_files = [
+ 'Compress/Lzma/LzmaDecode.c',
+ 'Archive/7z/7zMethodID.c',
+ 'Archive/7z/7zItem.c',
+ 'Archive/7z/7zIn.c',
+ 'Archive/7z/7zHeader.c',
+ 'Archive/7z/7zExtract.c',
+ 'Archive/7z/7zDecode.c',
+ 'Archive/7z/7zBuffer.c',
+ 'Archive/7z/7zAlloc.c',
+ 'Compress/Branch/BranchX86_2.c',
+ 'Compress/Branch/BranchX86.c',
+ '7zCrc.c',
+]
env.StaticLibrary('lzma_sdk', input_files)
diff --git a/third_party/zlib/SConscript b/third_party/zlib/SConscript
index 62ab735..5a7de33 100644
--- a/third_party/zlib/SConscript
+++ b/third_party/zlib/SConscript
@@ -34,10 +34,7 @@ env = env.Clone()
env.Append(
CCFLAGS = [
'/TC',
-
'/wd4800',
- '/wd4503',
- '/wd4819',
],
)