Commit 6c4fde96 by Karl Schimpf

Remove -Werror from pnacl build, due to default switch error in subzero.

When compiling using toolchain_build_pnacl.py, we get errors of form: Don't use default labels in fully covered switches over enumerations I tried different combinations of -Wno-covered-switch-default and -Wno-error=covered-switch-default, but was not able to stop this error from being generated. Hence, taking the simplier route of removing -Werror from Makefile. (see www.llvm.org/docs/CodingStandards.html for more details) BUG=None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/686103006
parent 336f6c4a
...@@ -12,7 +12,7 @@ LEVEL := $(SUBZERO_LEVEL)/../.. ...@@ -12,7 +12,7 @@ LEVEL := $(SUBZERO_LEVEL)/../..
# Include LLVM common makefile. # Include LLVM common makefile.
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common
CXX.Flags += -std=c++11 -Wextra -Werror -Wno-error=unused-parameter CXX.Flags += -std=c++11
CPP.Defines += -DALLOW_TEXT_ASM=1 -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 \ CPP.Defines += -DALLOW_TEXT_ASM=1 -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 \
-DALLOW_LLVM_IR=1 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_LLVM_IR=1 -DALLOW_LLVM_IR_AS_INPUT=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment