Fixed shaderc build.

This commit is contained in:
Branimir Karadžić
2017-01-08 17:38:32 -08:00
parent 61638ce0a7
commit 4603b2fd43

View File

@@ -47,10 +47,6 @@ project "glslang"
configuration {}
flags {
"Optimize",
}
includedirs {
GLSLANG,
}
@@ -98,19 +94,20 @@ project "shaderc"
path.join(GLSL_OPTIMIZER, "src"),
}
flags {
"Optimize",
}
removeflags {
-- GCC 4.9 -O2 + -fno-strict-aliasing don't work together...
"OptimizeSpeed",
}
links {
"bx",
}
configuration { "Release" }
flags {
"Optimize",
}
removeflags {
-- GCC 4.9 -O2 + -fno-strict-aliasing don't work together...
"OptimizeSpeed",
}
configuration { "vs*" }
includedirs {
path.join(GLSL_OPTIMIZER, "src/glsl/msvc"),