[coreboot-gerrit] Patch set updated for coreboot: df530bd Makefile: Tone down some clang warnings, some are not useful

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Dec 10 11:28:07 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7778

-gerrit

commit df530bdb39962b2d822b04862f314668902efd0e
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Dec 10 19:30:22 2014 +1100

    Makefile: Tone down some clang warnings, some are not useful
    
    Change-Id: I9f9910b7f66ebf3a82d42e7732e413ba27dbbbe7
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index eaba3e4..e5f6f20 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,8 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
 # NOTE: clang puts compiler-rt under lib/linux/libclang_rt.builtins-i386.a
 # this means the triple is i386-linux-elf instead of i386-none-elf
 CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
+# Tone down some clang warnings
+CFLAGS_x86_32 += -Wno-unused-variable -Wno-unused-function -Wno-tautological-compare
 CC_x86_32:=clang
 HOSTCC := clang
 



More information about the coreboot-gerrit mailing list