Browse Source

x86: Disable -Werror

This is annoying during development and serves no useful purpose since
warnings are clearly displayed now that we are using Kbuild. Remove this
option.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Simon Glass 10 years ago
parent
commit
9a7d700cca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/cpu/config.mk

+ 1 - 1
arch/x86/cpu/config.mk

@@ -7,7 +7,7 @@
 
 
 CROSS_COMPILE ?= i386-linux-
 CROSS_COMPILE ?= i386-linux-
 
 
-PLATFORM_CPPFLAGS += -D__I386__ -Werror
+PLATFORM_CPPFLAGS += -D__I386__
 
 
 # DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
 # DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
 LDPPFLAGS += -DRESET_SEG_START=0xffff0000
 LDPPFLAGS += -DRESET_SEG_START=0xffff0000