From 97e0697cc294fa215d43a4109c3e23d7945f8b4a Mon Sep 17 00:00:00 2001 From: baldurk Date: Sun, 12 Jul 2015 12:09:32 +0200 Subject: [PATCH] Remove -Wno-error from glslang files --- renderdoc/driver/shaders/spirv/Makefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/renderdoc/driver/shaders/spirv/Makefile b/renderdoc/driver/shaders/spirv/Makefile index 25df51fdc..e2a30b5aa 100644 --- a/renderdoc/driver/shaders/spirv/Makefile +++ b/renderdoc/driver/shaders/spirv/Makefile @@ -12,8 +12,11 @@ OBJDIR=.obj VPATH=../../../3rdparty -# VPATH above takes care of finding these within the 3rdparty directory -GLSLANG_OBJECTS=glslang/OGLCompilersDLL/InitializeDll.o \ +# VPATH above takes care of finding the glslang files within the 3rdparty directory +OBJECTS=spirv_common.o \ +spirv_compile.o \ +spirv_disassemble.o \ +glslang/OGLCompilersDLL/InitializeDll.o \ glslang/SPIRV/GlslangToSpv.o \ glslang/SPIRV/SpvBuilder.o \ glslang/glslang/GenericCodeGen/CodeGen.o \ @@ -45,19 +48,10 @@ glslang/glslang/MachineIndependent/preprocessor/PpSymbols.o \ glslang/glslang/MachineIndependent/preprocessor/PpTokens.o \ glslang/glslang/OSDependent/Linux/ossource.o -OBJECTS=spirv_common.o \ -spirv_compile.o \ -spirv_disassemble.o \ -$(GLSLANG_OBJECTS) .PHONY: all all: rdoc_spirv.a -# glslang needs -Wno-error added :( -GLSLANG_OBJDIR_OBJECTS=$(addprefix $(OBJDIR)/, $(GLSLANG_OBJECTS)) - -$(GLSLANG_OBJDIR_OBJECTS): CPPFLAGS += -Wno-error - $(OBJDIR)/%.o: %.cpp @mkdir -p $$(dirname $@) $(CPP) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<