summaryrefslogtreecommitdiff
path: root/drivers/spirv-reflect
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-13 15:53:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-14 10:02:31 +0100
commitd2537407efffde15372962ffca864b7400ade345 (patch)
tree4d99ff9f4814abc3e531a447794a62139ece1178 /drivers/spirv-reflect
parent3679d49f4b709fd56e872633ead73008bc3e1c43 (diff)
Fix various GCC compilation warnings after Vulkan merge
Part of #36132.
Diffstat (limited to 'drivers/spirv-reflect')
-rw-r--r--drivers/spirv-reflect/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spirv-reflect/SCsub b/drivers/spirv-reflect/SCsub
index f6b40ac433..8ff27da114 100644
--- a/drivers/spirv-reflect/SCsub
+++ b/drivers/spirv-reflect/SCsub
@@ -3,12 +3,13 @@
Import('env')
env_spirv_reflect = env.Clone()
+env_spirv_reflect.disable_warnings()
thirdparty_dir = "#thirdparty/spirv-reflect/"
thirdparty_sources = [
"spirv_reflect.c"
]
-
+
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_spirv_reflect.add_source_files(env.drivers_sources, thirdparty_sources)